Commit Graph

596 Commits

Author SHA1 Message Date
John Maddock
3155b8c54d 2nd try to simplify test_cpp_bin_float.cpp for ASAN 2021-01-31 16:22:15 +00:00
jzmaddock
d6fa8083f9 Disable some tests that CI can't cope with - mostly timeouts. 2021-01-31 11:37:52 +00:00
John Maddock
b1f5ada732 Fix issues with -fsanitize=address [CI SKIP] 2021-01-29 18:36:06 +00:00
John Maddock
1081311d34 Remove clang-7 workarounds 2021-01-28 13:40:57 +00:00
Christopher Kormanyos
f8e64d1af9 [CI SKIP] retry workaround for __clang__ < 8 2021-01-26 21:13:49 +01:00
Christopher Kormanyos
e18a5df769 [CI SKIP] trivial workaround for __clang__ < 8 2021-01-26 20:29:05 +01:00
Christopher Kormanyos
b59a9d9738 [CI SKIP] Weak workaround TLS, hope to get green 2021-01-22 19:27:40 +01:00
Christopher Kormanyos
038d19ff7a [CI SKIP] Try fix seg fault via gcc-mingw flags 2021-01-20 23:19:44 +01:00
jzmaddock
a9b4361c0a Completely remove MPL usage. 2021-01-16 11:22:28 +00:00
jzmaddock
771985f06b Finish off removing pretty much all of type_traits usage. 2021-01-14 19:25:54 +00:00
jzmaddock
8bb54d07fd Remove most boost.type_traits usage. 2021-01-14 17:05:14 +00:00
jzmaddock
cb514e9249 Giant C++11 refactor removing:
BOOST_STATIC_ASSERT
BOOST_STATIC_CONST
boost::enable_if/disable_if
Changed many traits class usages from boost:: to std::.
2021-01-13 14:33:48 +00:00
jzmaddock
05d2d09bfd Remove tons of C++03 workarounds. 2021-01-11 21:42:50 +00:00
jzmaddock
9d91041e93 Remove rvalue workarounds. 2021-01-11 19:03:46 +00:00
jzmaddock
a34e2f7e2a Update mpfr to allow mixed but equivalent precision arithmetic. 2021-01-09 10:51:27 +00:00
jzmaddock
f1489cc5c7 Add missing files. 2021-01-08 09:21:31 +00:00
jzmaddock
ec021c399a Disambiguate non-et ops for equivalent types.
Add test for non-et equivalent types.
2021-01-07 19:31:26 +00:00
jzmaddock
2f749a97fb Allow mixed operations between cpp_bin_float's that differ only by allocation strategy. 2021-01-05 18:57:34 +00:00
jzmaddock
4f924ba22a Add missing test file. 2021-01-03 09:05:51 +00:00
jzmaddock
623da611eb Break ties in operator overloads between equivalent types. 2021-01-02 16:22:55 +00:00
John Maddock
117f8fd0bd Merge branch 'develop' into issue278 2020-12-31 19:46:28 +00:00
jzmaddock
eda55720b1 Enable more mixed operations.
More moves between related types, more operations directly on mixed types.
2020-12-31 19:44:36 +00:00
jzmaddock
589709d1d2 Merge pull request #281 from boostorg/issue257
Change range_error->domain_error for lsb/msb failures.
2020-12-30 18:54:31 +00:00
jzmaddock
c650dd3e57 Change range_error->domain_error for lsb/msb failures.
Fixes https://github.com/boostorg/multiprecision/issues/257.
2020-12-26 17:32:55 +00:00
jzmaddock
10fd5267e9 Correct eval_increment corner case.
Fixes https://github.com/boostorg/multiprecision/issues/277.
2020-12-26 16:14:40 +00:00
jzmaddock
263f3bcdd1 Correct stupid bug in memcpy.
Add Mixed move tests.
2020-12-24 18:38:18 +00:00
jzmaddock
691473c7e8 First cut at allowing move between mixed but related types.
See https://github.com/boostorg/multiprecision/issues/278.
2020-12-24 17:39:38 +00:00
jzmaddock
e46327150e Merge branch 'develop' into improve_trig 2020-10-23 08:43:12 +01:00
jzmaddock
f2e7d3d65a Disable some tests when the exponent range is greater than that of the reference type. Fix up a few other warnings. 2020-10-22 19:55:29 +01:00
jzmaddock
58ad6d9dd8 Correct various test failures.
Also remove non-ASCII text characters.
2020-09-07 22:09:06 +01:00
jzmaddock
b51516a1a3 Correct spelling of BOOST_NO_LONG_LONG.
Fixes https://github.com/boostorg/multiprecision/issues/269.
2020-09-04 09:22:27 +01:00
jzmaddock
6a5d30e4d5 Improve trig functions further.
Add traits class support to cpp_dec_float and mpf_float.
Fix ldexp bug in cpp_dec_float.
Add test cases for difficult sin/cos calculations.
2020-09-04 09:20:43 +01:00
jzmaddock
596259874b Fix frexp for mpfr:
Make sure we call the correct API, add motivating test case.
2020-08-12 11:43:55 +01:00
jzmaddock
ed66aa5469 Improve accuracy of complex tan/tanh.
Test self assignment when using complex_adaptor and fix resulting bugs.
Fixes https://github.com/boostorg/multiprecision/issues/262.
2020-08-06 21:54:49 +01:00
jzmaddock
c2e40921b4 Merge pull request #254 from boostorg/issue_251
Fix for corner case subtraction bug.
2020-07-20 19:47:16 +01:00
jzmaddock
571891b71d Merge pull request #250 from boostorg/better_gcd
Better gcd: Lehmers algorithm
2020-07-19 10:05:09 +01:00
jzmaddock
ca7523f2a1 Correct missing \n at end of file.
[CI SKIP]
2020-07-19 10:04:34 +01:00
jzmaddock
9b468e5e24 GCD: Update copyright declarations. 2020-07-16 20:11:47 +01:00
jzmaddock
1a59385b32 GCD: Fix some clang testing failures. 2020-07-16 19:12:39 +01:00
jzmaddock
4f8e0055ac GCD: Add double digit Lehmer's algorithm for platforms with synthetic double_limb_type. 2020-07-15 18:15:59 +01:00
jzmaddock
d7220e2685 Update proposed subtraction fix for improved efficiency.
Add more tests.
2020-06-26 11:49:44 +01:00
jzmaddock
3dafdb1d74 Fix for corner case subtraction bug.
Fixes https://github.com/boostorg/multiprecision/issues/251#issuecomment-649717596
Add tests for bug case.
2020-06-25 18:30:12 +01:00
jzmaddock
18fb7de68f Add description to random number generator method.
[CI SKIP]
2020-06-17 18:41:58 +01:00
jzmaddock
e6289f9603 Lehmer gcd: add test case to validate fixed precision checked arithmetic support. 2020-06-14 17:24:34 +01:00
jzmaddock
81e3a24951 Add Lehmer's gcd algorithm. 2020-06-14 17:11:25 +01:00
jzmaddock
a6b9d0f700 Add missing test case file. 2020-06-14 09:03:11 +01:00
jzmaddock
513333d5c4 Improve digits10 calculation while we're at it.
Add minimal test case.
2020-06-13 18:25:49 +01:00
jzmaddock
a78560ccb0 Further improve max_digits_10 calculation. 2020-06-12 20:19:03 +01:00
jzmaddock
4a3a3a99ff Merge pull request #224 from boostorg/specfun_fixes
Improve special function support
2020-05-02 10:47:47 +01:00
jzmaddock
10ec56b283 Add more gcd tests and fix case where one arg is zero.
Fixes: https://github.com/boostorg/multiprecision/issues/227.
2020-04-28 19:04:52 +01:00