Opened 6 years ago

Closed 6 years ago

#12213 closed Feature Requests (fixed)

cpp_bin_float: convert_to<double> of negative zero returns positive zero

Reported by: Michael Shatz Owned by: John Maddock
Milestone: Boost 1.62.0 Component: multiprecision
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Strictly speaking, such behavior can't be called bug, because signed zeros are not promised to work. But since in the new version signed zeros mostly work as in IEEE, it would be more consistent if negative zero will be converted to negative zero.

Change History (1)

comment:1 by John Maddock, 6 years ago

Milestone: To Be DeterminedBoost 1.62.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.