Opened 6 years ago

Closed 6 years ago

#12167 closed Bugs (fixed)

cpp_bin_float exponent overflow in division

Reported by: Michael Shatz Owned by: John Maddock
Milestone: To Be Determined Component: None
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

When an exponent of result of division is out of range it wraps around producing bogus result instead of proper 0 or inf.

Platform: Mingw, gcc 5.3.0, x64. All optimization levels.

Attachments (1)

div_test.cpp (505 bytes ) - added by Michael Shatz 6 years ago.
demonstrate overflow/underflow of exponent during divison (cpp_bin_float)

Download all attachments as: .zip

Change History (3)

by Michael Shatz, 6 years ago

Attachment: div_test.cpp added

demonstrate overflow/underflow of exponent during divison (cpp_bin_float)

comment:1 by John Maddock, 6 years ago

Owner: set to John Maddock
Note: See TracTickets for help on using tickets.