1897 Commits

Author SHA1 Message Date
jzmaddock
0c7ba860a4 Change to using the backend directly in mpq->int conversions. 2021-07-06 17:49:39 +01:00
jzmaddock
db3007352b Correct mpq_rational conversion to integer.
Fixes https://github.com/boostorg/multiprecision/issues/342.
2021-07-06 12:46:44 +01:00
jzmaddock
58b97f79f4 Update history.
[CI SKIP]
boost-1.77.0.beta1
2021-06-29 11:05:18 +01:00
jzmaddock
dd241b380c Merge pull request #318 from boostorg/precision_issue_308
Big Variable Precision update.
2021-06-27 09:41:33 +01:00
jzmaddock
6a161b00d5 Merge pull request #337 from boostorg/better-sqrt
Adds Karatsuba sqrt.
2021-06-27 09:40:56 +01:00
jzmaddock
3bce6fbd19 Use old bitwise sqrt when in constexpr context. 2021-06-26 19:48:41 +01:00
jzmaddock
d65ce72188 Add back bitwise sqrt for constexpr contexts. 2021-06-23 10:07:41 +01:00
jzmaddock
bb43e08274 Merge pull request #339 from boostorg/to_string
Implement to_string via ADL.
2021-06-23 09:08:09 +01:00
jzmaddock
67c123f058 Merge pull request #340 from boostorg/NAThompson-patch-1
Remove unused variable warning.
2021-06-23 09:06:51 +01: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
707bf29c18 Update copyrights on Karatsuba sqrt.
Refine termination conditions in small-integer case.
2021-06-22 20:01:42 +01:00
Nick
60798ca261 Remove unused variable warning.
It's cluttering the logs; see [here](https://app.circleci.com/pipelines/github/boostorg/multiprecision/727/workflows/a1cd8f75-ccba-4a73-9388-5f20ebc7d454/jobs/2413).
2021-06-22 10:44:00 -04:00
jzmaddock
08b5f4eb3a More karatsuba sqrt fixes. 2021-06-21 19:52:56 +01:00
jzmaddock
bd5f2835c3 Fix Karatsuba multiplication bug uncovered while testing Karatsuba sqrt. 2021-06-21 19:52:23 +01:00
Nick Thompson
23cd3cfe5c Implement to_string via ADL. 2021-06-21 10:55:02 -04:00
jzmaddock
d01cb66ba1 Fix up some of the constexpr failures (msvc still outstanding). 2021-06-20 09:28:15 +01:00
jzmaddock
8caae32acf Minor tweaks to Karatsuba sqrt.
Hooks up backend-based version for cpp_int.
Also adds simple google-benchmark.
From https://github.com/boostorg/multiprecision/pull/328.
2021-06-18 20:05:02 +01:00
John Maddock
019a169414 Merge branch 'develop' of https://github.com/leviska/multiprecision into better-sqrt 2021-06-14 19:22:57 +01:00
jzmaddock
68d1bb509c Merge pull request #336 from boostorg/issue322
Handle numeric overflow in Lehmer GCD fast-path.
2021-06-14 11:10:36 +01:00
jzmaddock
55e70b6db8 Tidy up asserts in Lehmer GCD. 2021-06-13 18:39:06 +01:00
jzmaddock
42fa6c1c06 Handle numeric overflow in Lehmer GCD fast-path.
Fixes: https://github.com/boostorg/multiprecision/issues/322
2021-06-13 17:15:10 +01:00
jzmaddock
e5d315f0cc Merge branch 'develop' into precision_issue_308
Fixed Conflicts:
	include/boost/multiprecision/complex_adaptor.hpp
	include/boost/multiprecision/debug_adaptor.hpp
	include/boost/multiprecision/logged_adaptor.hpp
	include/boost/multiprecision/mpfr.hpp
2021-06-13 11:27:26 +01:00
jzmaddock
1f911f887c Minor doc update. 2021-06-13 11:08:01 +01:00
jzmaddock
fe7fced5cd Merge pull request #335 from boostorg/issue329
Test debug/logged_adaptors with nearly everything.
2021-06-12 09:01:57 +01:00
jzmaddock
5f419ece9a Test debug/logged_adaptors with nearly everything.
Fix up all the resulting failures.
Fixes: https://github.com/boostorg/multiprecision/issues/329.
2021-06-11 16:52:44 +01:00
jzmaddock
88e251290b Merge pull request #334 from boostorg/hash_cleanup
Cleanup hash_combine usage.
2021-06-07 17:15:58 +01:00
jzmaddock
fe8e5bacc0 Cast enum's to size_t's for hashing. 2021-06-07 10:40:01 +01:00
jzmaddock
0b96e16b7b Correct __int128 hashing. 2021-06-06 18:11:38 +01:00
jzmaddock
916ff46edf Cleanup hash_combine usage. 2021-06-06 10:07:32 +01:00
jzmaddock
46ec92a606 Merge pull request #333 from boostorg/issue324
Fix up conversions to and from enum's and add new tests.
2021-06-06 08:20:39 +01:00
jzmaddock
ba8759b26f Correct msvc-14.0 workaround. 2021-06-05 17:54:22 +01:00
jzmaddock
2ce18753d4 Constexpr fixes and code tidy up. 2021-06-05 10:04:23 +01:00
jzmaddock
2b84de58a6 Remove use of underlying_type in function prototype, it trips gcc-8. 2021-06-04 19:06:39 +01:00
jzmaddock
7e53527178 Merge pull request #331 from boostorg/issue321
Restrict Intel intrinsics to Intel processors on msvc.
2021-06-04 13:46:41 +01:00
jzmaddock
897bcb4165 Fix up conversions to and from enum's and add new tests.
Fixes: https://github.com/boostorg/multiprecision/issues/324.
2021-06-04 13:43:58 +01:00
jzmaddock
c6eb84ba43 Merge pull request #330 from boostorg/msvc_CI_fixes
Add -bigobj to tests that have started needed it.
2021-06-04 13:05:51 +01:00
jzmaddock
c2a9010c3a More -bigobj flags needed. 2021-06-04 09:08:27 +01:00
Iskandarov Lev Andreevich
eeb0d4074d fix 2021-06-02 22:14:43 +03:00
Iskandarov Lev Andreevich
53d3a97c70 faster sqrt 2021-06-02 21:24:22 +03:00
jzmaddock
e1f24710c3 Restrict Intel intrinsics to Intel processors on msvc.
Fixes https://github.com/boostorg/multiprecision/issues/321.
2021-06-02 11:02:33 +01:00
jzmaddock
52f250ebed Add -bigobj to tests that have started needed it. 2021-06-02 10:18:30 +01:00
John Maddock
62e977fece Merge branch 'develop' into precision_issue_308 2021-06-01 19:53:28 +01:00
jzmaddock
b4f2c28c6d Flesh out variable precision docs some more. 2021-06-01 19:51:43 +01:00
jzmaddock
a872850b2a Add template alias to logged/debug_adaptor. 2021-06-01 19:50:45 +01:00
Iskandarov Lev Andreevich
d65ca0d822 constexpr fix 2021-06-01 14:23:08 +03:00
Iskandarov Lev Andreevich
1767bce209 fix 2021-05-31 23:40:48 +03:00
Iskandarov Lev Andreevich
e774d1c71f added license and fixed constexpr init 2021-05-31 23:17:38 +03:00
Peter Dimov
b725af5aef Add CMakeLists.txt 2021-05-28 01:00:27 +03:00
Peter Dimov
9efad7aecc Merge branch 'master' into develop 2021-05-28 00:58:35 +03:00