Commit Graph

1243 Commits

Author SHA1 Message Date
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
0a245647e2 constexpr: Tweak C++14 detection to eliminate early clang versions.
Update appveyor.yml.
Add docs and examples.
2019-08-26 12:53:15 +01:00
jzmaddock
e063f7ff53 constexpr: configuration tweaks. 2019-08-21 20:28:44 +01:00
jzmaddock
1585622af3 Correct use of <toolset>gcc-mingw:<cxxflags>-Wa,-mbig-obj 2019-08-21 18:49:46 +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
pabristow
ecd7967ccf Added assembler option for big-obj to avoid file too big error. 2019-08-20 17:50:16 +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
86efdd5a19 constexpr: add missing #include. 2019-08-19 18:18:32 +01:00
jzmaddock
7b0b6c3820 Fix non-constexpr function 2019-08-19 11:47:12 +01:00
jzmaddock
8007dcd864 constexpr: add test case.
[CI SKIP]
2019-08-19 09:00:00 +01:00
jzmaddock
e7f03e0f94 Fix up non-constexpr funcions 2019-08-18 22:03:35 +01:00
jzmaddock
1488d12131 constexpr: begin testing C++14 constexpr support. 2019-08-18 15:16:27 +01:00
jzmaddock
7d62a03128 constexpr: Add C++14 constexpr support to the front end.
Begin testing with arithmetic_backend.
2019-08-17 20:06:45 +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
pabristow
4336139112 Add multiprecision.css custom style sheet, and a few new links, rebuild locally with no inspect complaints. 2019-08-13 15:09:54 +01:00
jzmaddock
74933b9974
Merge pull request #142 from boostorg/clang-format
Apply clang format
2019-08-02 20:24:40 +01:00
jzmaddock
b5555f6ec4 Update docs on the GNU Q suffix.
[CI SKIP]
Fixes https://github.com/boostorg/multiprecision/pull/148.
2019-08-02 17:09:20 +01:00
jzmaddock
e08dd712cf
Merge branch 'develop' into clang-format 2019-08-02 11:03:54 +01:00
jzmaddock
457f6b1325
Merge pull request #146 from NilFoundation/clang-format
Minor formatting issues fixed
2019-08-01 19:39:06 +01:00
Mikhail Komarov
a67ddfec34 Minor formatting issues fixed. 2019-07-26 02:58:43 +03:00
jzmaddock
8d2357dafd Fix minimum number of limbs i cpp_int: fixes https://github.com/boostorg/multiprecision/issues/145 2019-07-19 19:43:25 +01:00
jzmaddock
877753246f clang-format: apply new format to (almost) everything. 2019-07-15 18:25:17 +01:00
jzmaddock
188187c6cd Revert "Initial clang_format-based reformatting done #137"
This reverts commit bdd2212008.
2019-07-15 18:10:08 +01:00
jzmaddock
536bc41952
Merge pull request #140 from NilFoundation/137-boost-clang-format
Initial clang_format-based reformat #137
2019-07-15 09:44:55 +01:00
Mikhail Komarov
bdd2212008 Initial clang_format-based reformatting done #137 2019-07-14 15:17:21 +03:00
jzmaddock
4c5638c477 Add .clang-format file.
See https://github.com/boostorg/multiprecision/issues/137
[CI SKIP]
2019-07-14 11:52:29 +01:00
jzmaddock
eb07d53856
Merge pull request #136 from boostorg/develop
Merge to release for 1.71.
2019-07-01 08:26:17 +01:00
jzmaddock
09314a23d1 Update docs.
[CI SKIP]
2019-06-30 12:03:59 +01:00
jzmaddock
ce869efcf8 Fix some gcc warnings,
Fixes https://github.com/boostorg/multiprecision/issues/133.
2019-06-29 18:57:05 +01:00
jzmaddock
41dc0de098 When the exponent is smaller than the smallest permitted, the result is zero in generic_interconvert.
[CI SKIP]
2019-06-29 18:53:15 +01:00
jzmaddock
a8d63ba80c Make include of boost/config.hpp explicit.
Fixes https://github.com/boostorg/multiprecision/issues/134.
[CI SKIP]
2019-06-29 18:52:27 +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
pabristow
fa2afebfce Add FAQ about choosing between cpp_dec and cpp_bin (copy from Boost.Math FAQ) [CI SKIP] 2019-05-28 17:06:37 +01:00
jzmaddock
0e89a3601d
Merge pull request #130 from pavelkryukov/develop
Respect uppercase for hexadecimal outputs
2019-05-01 14:16:08 +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
jzmaddock
89e2dc5cfb
Merge pull request #128 from tinko92/develop
Replace broken links.
2019-04-24 18:54:06 +01:00
Tinko Bartels
e9fd66e70a Replace broken link to pibook. 2019-04-23 09:15:36 +02: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
c06262912f Fix for variable precision interconversions
When a generic conversion between number<>'s is performed, we need to guard the precision of both types, not just the destination type.
2019-04-06 18:13:42 +01:00
Christopher Kormanyos
999c67f678
Merge pull request #126 from zmij/patch-1
Don't construct stringstream multiple times
2019-03-27 20:01:35 +01:00
Sergei Fedorov
ab8d9e019c
Don't construct stringstream multiple times
It's inefficient to construct the stream object for each element in the array
2019-03-26 18:02:49 +03:00
John Maddock
91bd99e987 Merge branch 'develop' 2019-03-24 20:44:20 +01:00
jzmaddock
3772428c1b Correct mpfr lgamma to return correct sign when requested.
Found while testing 1F1.
2019-03-21 20:16:02 +00:00