39 Commits

Author SHA1 Message Date
ivanpanch
55bf069621 Fix mistakes (#729)
* Update Jamfile.v2

* Update introduction.qbk

* Update tutorial.qbk

* Update tutorial_cpp_int.qbk

* Update tutorial_gmp_int.qbk

* Update tutorial_tommath.qbk

* Update integer_examples.cpp

* Update tutorial_cpp_bin_float.qbk

* Update tutorial_cpp_dec_float.qbk

* Update tutorial_gmp_float.qbk

* Update tutorial_mpfr_float.qbk

* Update tutorial_float128.qbk

* Update tutorial_float_builtin_ctor.qbk

* Update big_seventh.cpp

* Update tutorial_float_eg.qbk

* Update floating_point_examples.cpp

* Update mpfr_precision.cpp

* Update gauss_laguerre_quadrature.cpp

* Update tutorial_interval_mpfi.qbk

* Update tutorial_cpp_complex.qbk

* Update tutorial_mpc_complex.qbk

* Update tutorial_float128_complex.qbk

* Update tutorial_complex_adaptor.qbk

* Update tutorial_rational.qbk

* Update tutorial_tommath_rational.qbk

* Update tutorial_logged_adaptor.qbk

* Update tutorial_debug_adaptor.qbk

* Update tutorial_visualizers.qbk

* Update tutorial_fwd.qbk

* Update tutorial_conversions.qbk

* Update tutorial_random.qbk

* Update random_snips.cpp

* Update tutorial_constexpr.qbk

* Update tutorial_import_export.qbk

* Update cpp_int_import_export.cpp

* Update tutorial_mixed_precision.qbk

* Update tutorial_variable_precision.qbk

* Update scoped_precision_example.cpp

* Update tutorial_numeric_limits.qbk

* Update tutorial_numeric_limits.qbk

* Update numeric_limits_snips.cpp

* Update numeric_limits_snips.cpp

* Update tutorial_numeric_limits.qbk

* Update numeric_limits_snips.cpp

* Update numeric_limits_snips.cpp

* Update tutorial_io.qbk

* Update reference_number.qbk

* Update reference_cpp_bin_float.qbk

* Update reference_cpp_double_fp_backend.qbk

* Update reference_internal_support.qbk

* Update reference_backend_requirements.qbk

* Update performance.qbk

* Update performance_overhead.qbk

* Update performance_real_world.qbk

* Update performance_integer_real_world.qbk

* Update performance_rational_real_world.qbk

* Update reference_number.qbk

* Update tutorial_numeric_limits.qbk

* Update reference_backend_requirements.qbk
2025-08-18 13:14:39 +02:00
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
jzmaddock
18be0ff964 Make __float128 a floating point type. (#637)
* Make __float128 a floating point type.
Allows float128 to be used in non gnu mode.
Enable some tests for non-gnu mode.
Fixes https://github.com/boostorg/multiprecision/issues/569.

Also:
* Remove msvc-14.0 testing as no longer supported.
* correct float128_snips.cpp
* Run specfun tests on github rather than CircleCI as the latter runs out of resources.
2024-09-22 13:16:20 +01:00
Matt Borland
a2e48109ba Cycle CI 2021-07-30 21:08:28 +03:00
Matt Borland
3692daee01 Add is_ci_sanitizer_run 2021-07-28 21:12:55 +03:00
jzmaddock
015487dd02 Update C++11 requirements. 2021-02-18 18:14:41 +00:00
jzmaddock
1ba754d95f Remove dead code and non-existant macro check.
Fixes https://github.com/boostorg/multiprecision/issues/269.
2020-09-04 09:24:27 +01:00
jzmaddock
599f8d1426 Workaround for over-sized object files on Mingw.
Fixes https://github.com/boostorg/multiprecision/issues/219
2020-04-18 18:18:36 +01:00
jzmaddock
b46a0ecbe5 Fix up constexpr tests for msvc-14.2. 2020-03-26 20:47:24 +00:00
pabristow
ec7e0476ad Reverted a few files with noisy comments, gauss_laguerre_quadrature example is broken (by PAB?) and under repair/upgrade. 2020-02-12 15:32:38 +00:00
pabristow
0fe173730d Resolved conflicts from pull from origin/develop 2020-01-29 11:45:41 +00:00
jzmaddock
c35074829c performance: update tests and CI scripts. 2019-12-14 18:02:14 +00:00
John Maddock
0706f54bc6 Fix most, but not yet all the gcc-9 failures. 2019-09-07 19:55:47 +01:00
jzmaddock
be96d2282c First cut at making cpp_int constexpr. 2019-08-29 20:09:04 +01:00
jzmaddock
877753246f clang-format: apply new format to (almost) everything. 2019-07-15 18:25:17 +01:00
jzmaddock
e85952b4e8 complex/mpc: Add tests for Eigen compatibility. 2018-03-28 19:41:19 +01:00
jzmaddock
2b18cecfff Complex/mpc: Fix up Jamfile. 2018-03-12 18:11:27 +00:00
jzmaddock
dbdda6aabc Update float128 support test to check Boost.Config.
Enable more tests for travis.
2017-05-22 19:00:24 +01:00
jzmaddock
3b41c0af07 Stop using run in configure rules:
It breaks testing for some strange reason.
2015-07-19 19:10:21 +01:00
jzmaddock
0adcc3c055 Disable testing with external libraries when clang memory-santizer is in effect 2015-07-19 19:09:16 +01:00
jzmaddock
83b0b09ca9 More fixes for GMP and gcc-4.9 2015-02-09 18:21:39 +00:00
jzmaddock
4c223e913f Fix for gcc-4.9.x and GMP bug. 2015-02-09 18:19:12 +00:00
jzmaddock
45e242d17d Implement exact base-10 floating point to rational conversion. 2014-06-17 18:20:59 +01:00
jzmaddock
2fc98c48df Change __float128 config test to detect mingw runtime bug. 2014-04-11 09:39:00 +01:00
John Maddock
4a8d87954f Fix __float128 test case, update messages from LInpack benchmark.
[SVN r84219]
2013-05-10 12:19:14 +00:00
John Maddock
74e46a3306 Initial Intel C++ _Quad support in float128.
[SVN r83856]
2013-04-12 09:01:20 +00:00
John Maddock
4a1fcb015d Add missing file.
[SVN r83749]
2013-04-03 18:01:25 +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
John Maddock
08fdb31fa2 Add some optimisation to gcd/lcm/lsb and cpp_int:
Use compiler intrinsics where possible for lsb.
Switch to using native integers when the values get small enough for gcd.
Re-run the performance tests and regenerate the docs.

Also change the series evaluation limits to make them depend on the precision in pow.hpp and trig.hpp.

[SVN r81946]
2012-12-14 18:37:27 +00:00
John Maddock
114aeb386b Simply enable_if usage in cpp_int_backend: try to fix Intel-11 failures.
Improve test_cpp_int.cpp.
Improve config tests.

[SVN r81487]
2012-11-22 17:21:01 +00:00
John Maddock
fa16b3f2d5 Fix missing include
[SVN r81441]
2012-11-20 18:56:23 +00:00
John Maddock
8f18e0b73f Enhance config tests.
Split cpp_int tests into smaller chunks.

[SVN r81440]
2012-11-20 18:50:08 +00:00
John Maddock
1f4ed86f97 Fix configuration tests to correctly print lib version numbers
[SVN r81435]
2012-11-20 12:14:52 +00:00
John Maddock
c53491f7f8 Configure checks need to verify GMP and MPFR versions.
[SVN r81420]
2012-11-19 11:02:06 +00:00
John Maddock
050ae32c44 Add initial libtommath support.
Fix use of noexcept.
Remove dead files.

[SVN r75505]
2011-11-16 09:40:05 +00:00
John Maddock
b0ac20f391 Add port of e_float as a backend.
[SVN r75129]
2011-10-27 12:43:41 +00:00
John Maddock
7be44c1683 Add log function and tests.
[SVN r74700]
2011-10-04 16:46:25 +00:00
John Maddock
73960e2a46 Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
[SVN r74579]
2011-09-26 17:00:44 +00:00