Commit Graph

505 Commits

Author SHA1 Message Date
jzmaddock
8597a212e0 Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop 2019-10-29 19:01:14 +00:00
jzmaddock
a252b56c9c Update Jamfile for msvc-14.2 builds. 2019-10-29 19:00:52 +00:00
John Maddock
684b232782 More waring fixes for gcc and clang 2019-10-24 21:39:52 +01:00
John Maddock
27147f3cb9 Fix clang-9 in C++11/03 mode. 2019-10-24 12:24:52 +01:00
John Maddock
04df97dec5 Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop 2019-09-22 17:58:59 +01:00
John Maddock
2dda946093 constexpr: Fix up some constexpr misconceptions, and hook up clang-9 support. 2019-09-22 17:58:21 +01:00
pabristow
5b7efd1df8 Merge conflicts resolved to add many editoral changes and new notes on constexpr. 2019-09-19 12:30:47 +01:00
pabristow
3da6ed2574 More comment in jamfiles about using big-obj if assembler file is too big. 2019-09-19 12:09:46 +01:00
jzmaddock
e9d606edc4 Fix stray ##'s.
[CI SKIP]
2019-09-10 18:12:57 +01:00
jzmaddock
d5480a8cb2 travis: Fix source for clang-8, suppress some gcc warnings that are beyond our control (uBlas). 2019-09-10 08:25:11 +01:00
John Maddock
fb3d7b551d constexpr: fix up gcc-9 failures, fix lots of warnings, disable one test on older Apple-clang 2019-09-09 10:29:32 +01:00
John Maddock
0706f54bc6 Fix most, but not yet all the gcc-9 failures. 2019-09-07 19:55:47 +01:00
jzmaddock
2139326f4e Fix paths in file. 2019-09-06 21:02:08 +01:00
jzmaddock
1a3e4e2d38 constexpr-cpp_int: add docs.
[CI SKIP]
2019-09-06 18:38:38 +01:00
jzmaddock
3b7a901461 constexpr-cpp_int: Fix up some more functions, add tests. 2019-09-03 19:56:28 +01:00
jzmaddock
f024f1b8fe constexpr-cpp_int: address more bugs and enable more functions for constexpr use. 2019-09-02 12:44:23 +01:00
jzmaddock
32b5e3e40a constexpr-cpp_int: Fix some more gcc C++11 errors, add more functions.
[CI SKIP]
2019-08-31 12:05:32 +01:00
jzmaddock
8fece3889d constexpr-cpp_int: Fix configuration logic.
Make more functions constexpr.
Add new test case.
[CI SKIP]
2019-08-31 09:55:19 +01:00
jzmaddock
d82bb4f382 constexpr-cpp_int: clean up gcc test failures. 2019-08-30 16:52:02 +01:00
jzmaddock
be96d2282c First cut at making cpp_int constexpr. 2019-08-29 20:09:04 +01:00
jzmaddock
e0c966a251 Add circle ci inspection report and fix some inspection errors. 2019-08-26 13:00:59 +01:00
John Maddock
6972343fca Merge branch 'develop' into constexpr2 2019-08-26 12:53:53 +01:00
jzmaddock
0c8f83df41 constexpr: Add constexpr support to float128.
Add tests for float128 constexpr.
Fix existing code to support constexpr-ness in more contexts via std::is_constant_evaluated or equivalent.
Change enable_if to enable_if_c in number.hpp in the (possibly vainglorious) hope of fixing some clang-apple failures.
2019-08-20 17:57:04 +01:00
jzmaddock
35c9dd1ce3 consexpr: add missing test file. 2019-08-19 19:27:16 +01:00
jzmaddock
0c2b16b31b constexpr: Add float128 constexpr support and tests. 2019-08-19 19:22:34 +01:00
jzmaddock
8007dcd864 constexpr: add test case.
[CI SKIP]
2019-08-19 09:00:00 +01:00
jzmaddock
1488d12131 constexpr: begin testing C++14 constexpr support. 2019-08-18 15:16:27 +01:00
pabristow
97d5ff01e7 [CI SKIP] Change to revert to default filesystem::root; and instead use a change to the jamfile for location of the serials txt files. All tests and examples pass, doc rebuilt, inspect all OK. 2019-08-16 09:44:56 +01:00
pabristow
30be1891c2 cpp_int serial txt files moved to a new sub-folder /serial_txts and include files boost-no-inspect to avoid complaints from inspect.exe.
I:\boost\libs\multiprecision\test\test_cpp_int_deserial.cpp uses boost::filesystem::path root("./serial_txts");

All tests pass on MSVC14.2 but one skipped???

[CI SKIP]
2019-08-16 09:41:08 +01:00
pabristow
86a7142d96 Edits to satisfy the picky inspect.exe program, now passing local tests using MSVC 14.2, except for six cpp_int*serial*.txt testdata files missing licence. 2019-08-14 18:02:10 +01:00
jzmaddock
877753246f clang-format: apply new format to (almost) everything. 2019-07-15 18:25:17 +01:00
jzmaddock
e54fbeec71
Merge pull request #124 from boostorg/Ethereum_tests
Add tests from Ethereum project referenced here: https://github.com/b
2019-06-29 10:32:50 +01:00
Pavel I. Kryukov
000a407884
Use lower case unit tests 2019-04-29 15:06:25 +03:00
jzmaddock
a137f09b3e Fix up use of > to be C++03 compatible. 2019-04-28 19:29:44 +01:00
Pavel I. Kryukov
afc48ebc53 Respect uppercase for '0x' prefix outputs 2019-04-28 18:27:05 +03:00
Tinko Bartels
8740e3863b Replace broken links. 2019-04-23 08:51:47 +02:00
Nick
de3ab816aa
Merge pull request #122 from boostorg/hexadecimal
Print float128 as hexadecimal floating point literals if the ios_base…
2019-04-12 09:30:06 -04:00
jzmaddock
3772428c1b Correct mpfr lgamma to return correct sign when requested.
Found while testing 1F1.
2019-03-21 20:16:02 +00:00
jzmaddock
154e623229 Add tests from Ethereum project referenced here: https://github.com/boostorg/multiprecision/issues/123 2019-03-09 09:50:23 +00: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
a3ab28245e Add fix and tests for exp bug in: https://github.com/boostorg/multiprecision/issues/120 2019-03-02 13:23:36 +00: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
jzmaddock
24dfad1995 Merge branch 'issue110' into develop 2019-02-17 10:07:52 +00:00
jzmaddock
11d2a501a4 Fix for generic conversion from float to int that doesn't invoke undefined behaviour in the integer type. 2019-02-13 19:21:47 +00:00
jzmaddock
0e638a316b Add support for xml serialization archives.
See https://github.com/boostorg/multiprecision/issues/111.
2019-02-13 13:37:29 +00:00
jzmaddock
68671aa03e Add missing file. 2018-12-11 08:37:24 +00:00
jzmaddock
f5d5701423 Don't instantiate numeric_limits on any old type:
Unless the type is a valid object we can't instantiate numeric_limits even to check is_specialized, in particular applies to abstract class types which implement the arithmetic operators as the multiprecision operators may get checked as well, which in tern tries to instantiate the number<> converting constructor which then checks numeric_limits.  See https://github.com/boostorg/multiprecision/issues/98.
2018-12-10 19:24:38 +00:00
Andrey Semashev
19831edbd1 Added a test for compatibility of Boost.Multiprecision and Boost.Optional. 2018-11-04 15:41:54 +03:00
Nick Thompson
30bc41706d Fix unescaped character in Jamfile.v2 2018-10-27 10:36:47 -06:00