27 Commits

Author SHA1 Message Date
René Ferdinand Rivera Morell
6df8e19f00 Add support for modular build structure. (#632)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add missing import-search for cconfig/predef checks.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Change all <source> references to <library>.

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Adjust doc build to avoid boost-root references.

* Update build deps.

* Change Boost Test build refs to work with both old and modular test lib targets.

* Adjust CI for changes to the inspect tool. Also simplify the build and test to avoid future config problems as it can mor easily adjust to future CI changes.

* Use latest CI image to get a modern C++ compiler rthat doesn't ICE, we hope.

* Current CircleCI images need sudo to install packages.

* Undo search-lib change.

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
2025-06-10 10:21:15 -04:00
Christopher Kormanyos
1624080dd4 First attempt try handle review comments 2023-08-21 12:58:48 +02:00
Ryan
eb0e1fecc0 initial_commit 2023-08-18 10:42:48 -04:00
John Maddock
3155b8c54d 2nd try to simplify test_cpp_bin_float.cpp for ASAN 2021-01-31 16:22:15 +00:00
jzmaddock
d6fa8083f9 Disable some tests that CI can't cope with - mostly timeouts. 2021-01-31 11:37:52 +00:00
jzmaddock
d7220e2685 Update proposed subtraction fix for improved efficiency.
Add more tests.
2020-06-26 11:49:44 +01:00
jzmaddock
3dafdb1d74 Fix for corner case subtraction bug.
Fixes https://github.com/boostorg/multiprecision/issues/251#issuecomment-649717596
Add tests for bug case.
2020-06-25 18:30:12 +01:00
jzmaddock
3c3a522168 Suppress lots of GCC warnings. 2020-03-31 19:14:08 +01:00
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