Commit Graph

19 Commits

Author SHA1 Message Date
jzmaddock
877753246f clang-format: apply new format to (almost) everything. 2019-07-15 18:25:17 +01:00
jzmaddock
ec018d5099 Increase testing for rounding when subtracting cpp_bin_float. 2016-11-18 10:56:58 +00:00
jzmaddock
618ef47611 Fix subtraction of small quantities in cpp_bin_float.
See: https://svn.boost.org/trac/boost/ticket/12580
2016-11-17 19:02:11 +00:00
jzmaddock
ed43204e92 Fix ceil cpp_bin_float to return signed zero when coming up from below.
Also fixes same issue in round/trunc.
See https://svn.boost.org/trac/boost/ticket/12525.
2016-10-26 18:48:53 +01:00
jzmaddock
5a5612c0a9 Fix sign of result when subtraction yields zero.
See https://svn.boost.org/trac/boost/ticket/12524.
2016-10-26 17:55:31 +01:00
jzmaddock
9c7210e859 Fix result of sqrt(infinity) in cpp_bin_float.
See: https://svn.boost.org/trac/boost/ticket/12227
2016-06-06 13:17:57 +01:00
jzmaddock
7fa93b8821 Fix conversion to signed-zero of cpp_bin_float.
See https://svn.boost.org/trac/boost/ticket/12213
2016-06-06 12:42:04 +01:00
jzmaddock
aaeb4d737e Fix subtraction of signed infinities in cpp_bin_float.
See: https://svn.boost.org/trac/boost/ticket/12209
2016-06-05 20:00:09 +01:00
jzmaddock
02d71e6757 Fix fencepost error in cpp_bin_float rounding.
Add tests to verify.
2016-05-31 09:52:57 +01:00
jzmaddock
0397d8bcd8 Test rounding code better in cpp_bin_float.
See: https://svn.boost.org/trac/boost/ticket/12199.
2016-05-16 12:43:03 +01:00
jzmaddock
6a16ac95c5 Fix add and subtract of cpp_bin_float when the exponents would overflow.
Fixes: https://svn.boost.org/trac/boost/ticket/12198.
2016-05-15 19:01:50 +01:00
jzmaddock
c2499c2d16 Fix buggy add and subtract of signed zeros in cpp_bin_float. 2016-05-14 20:11:20 +01:00
jzmaddock
6e7e2e8010 Fix cpp_bin_float conversions of infinities and NaN's.
Fixes: https://svn.boost.org/trac/boost/ticket/12196.
2016-05-14 19:15:14 +01:00
jzmaddock
0245c0b286 Add signed zero support to cpp_bin_float. 2016-05-13 19:20:34 +01:00
jzmaddock
6d54dd6a6b Fix sign of infinite results.
See https://svn.boost.org/trac/boost/ticket/12195.
2016-05-13 13:45:47 +01:00
jzmaddock
ad245b44ff Fix division over/underflow in cpp_bin_float.
See https://svn.boost.org/trac/boost/ticket/12167
2016-05-11 19:34:13 +01:00
jzmaddock
d3c6beb721 Add exhaustive rounding test program for cpp_bin_float.
Note not run by default as it takes half a day to run.
See: https://svn.boost.org/trac/boost/ticket/12039.
2016-03-22 08:16:30 +00:00
jzmaddock
373fa10e18 Workarounds for VC-12 errors. 2014-03-25 13:10:00 +00:00
John Maddock
10ed707a68 Initial merge of cpp_bin_float code from sandbox.
[SVN r86781]
2013-11-21 19:05:42 +00:00