Commit Graph

31 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
Matt Borland
6813d96cbb Remove uses of Boost.Array 2023-09-22 08:54:47 +02:00
jzmaddock
485fa7c9ae Fix output at zero decimal precision and fixed formatting...
To output rounded to nearest integer.
Add new tests.
Fixes: https://github.com/boostorg/multiprecision/issues/416
Fixes: https://github.com/boostorg/multiprecision/issues/388
2022-02-11 10:13:16 +00:00
Nick Thompson
f896414278 Actually test to_string . . . 2021-06-22 17:28:44 -04:00
Nick Thompson
9e2a6db22c Test to_string and add it to docs. 2021-06-22 15:53:51 -04:00
jzmaddock
05d2d09bfd Remove tons of C++03 workarounds. 2021-01-11 21:42:50 +00:00
jzmaddock
877753246f clang-format: apply new format to (almost) everything. 2019-07-15 18:25:17 +01:00
Nick Thompson
32628fbbd0 Do not use initializer list constructor so it works in C++98 mode. 2019-03-05 11:08:46 -07:00
Nick Thompson
301c864c43 Test hexadecimal strings based on format flags, test a round trip. 2019-03-03 10:32:48 -07:00
jzmaddock
35f8e9e8c9 Add tests for https://github.com/boostorg/multiprecision/pull/118
Also add the same fix for mpfr_float.
2019-03-02 13:22:53 +00:00
John Maddock
0a3a504f92 Merge multiprecision changes from Trunk.
[SVN r85681]
2013-09-15 18:04:02 +00:00
John Maddock
727b4c4643 Fixes to get the float128 tests passing with Intel C++ 13.0.
[SVN r83874]
2013-04-13 16:53:01 +00:00
John Maddock
ba0232fb1e Fix float128 string formatting.
[SVN r83831]
2013-04-10 16:30:13 +00:00
John Maddock
04b1c9e9f0 Initial commit of 128-bit float wrapper
[SVN r83713]
2013-04-02 17:26:48 +00:00
John Maddock
42458450be Add initial support for mpfi interval arithmetic
[SVN r82337]
2013-01-03 18:58:43 +00:00
Marshall Clow
5eb7c69461 Removed usage of deprecated macros
[SVN r81558]
2012-11-26 17:20:55 +00:00
John Maddock
4071dd8d59 Fix missing number constructor.
Fix is_explicitly_convertible to take account of the generic conversions.
Change sf_performance to use multiple files so we can actually compile the thing!
Minor doc updates.
Suppress some more warnings.

[SVN r81324]
2012-11-13 17:12:19 +00:00
John Maddock
4f2738fd6f Add traits class to determine default ExpressionTemplate parameter value.
Add support for fused-multiply-add/subtract.
Optimise temporary usage when the LHS also appears on the RHS.

[SVN r80607]
2012-09-20 16:04:02 +00:00
John Maddock
6dfcc7e526 Big search and replace change of name for the ExpressionTemplates template parameter to class number.
[SVN r80418]
2012-09-06 09:50:47 +00:00
John Maddock
b892e3f5ab Big breaking change - make lossy construction explicit.
[SVN r80058]
2012-08-16 08:13:51 +00:00
John Maddock
e2ef393c23 Big search and replace rename, removing mp_ prefix.
[SVN r79932]
2012-08-08 18:14:50 +00:00
John Maddock
ebd7502fdc Enhance pow and powm tests.
Quash some warnings.
Fix the IO tests on GCC.

[SVN r78423]
2012-05-11 17:19:13 +00:00
John Maddock
d4a2c46ac6 Update examples, reorganise docs, temporarily remove HTML before rebuilding.
Enhance test cases, including enabling loopback testing on cpp_dec_float io.

[SVN r77948]
2012-04-13 15:38:28 +00:00
John Maddock
8d6dedf4b0 Complete renaming of cpp_float to cpp_dec_float.
Rebuild docs.

[SVN r77037]
2012-02-16 09:36:26 +00:00
John Maddock
380d627359 Big search and replace: change cpp_float to cpp_dec_float.
Also fix up some numeric_limits test failures.

[SVN r77032]
2012-02-15 13:09:45 +00:00
John Maddock
a53f46637e Fix Linux 64 failures
[SVN r76593]
2012-01-20 17:15:22 +00:00
John Maddock
3c13b7a4d1 Add missing file.
Fix some inconsistent uses of long long and intmax_t.

[SVN r76573]
2012-01-18 12:16:20 +00:00
John Maddock
8c28b89dfc Fix GCC failures and generally improve performance of packed_cpp_int.
[SVN r76409]
2012-01-11 11:53:49 +00:00
John Maddock
a2dc3b968c Fix remaining Boost.Rational support issues and add rational number IO test.
[SVN r76121]
2011-12-23 17:13:29 +00:00
John Maddock
7143af0191 Fix IO of infinities and NaN's.
Add IO round trip test and adjust max_digits10 accordingly.

[SVN r75714]
2011-11-28 16:28:31 +00:00
John Maddock
ffc6bcedc9 Fix float IO and add test.
[SVN r75707]
2011-11-28 09:13:12 +00:00