2 Commits

Author SHA1 Message Date
jzmaddock
ae592ade3d Correct error logic in test/test_convert_cpp_int_2_float.cpp.
Previously we were accidentally passing a negative value to the shift operator.
2021-12-13 18:20:16 +00:00
jzmaddock
11da1dcd2f Update cpp_int->float conversion.
Ensures correct round to nearest regardless of value of floating point control flags.
Fixes https://github.com/boostorg/multiprecision/issues/360.
2021-12-08 19:27:09 +00:00