jzmaddock
0251625d98
Disable fixed-precision tests for msvc-14.1 and earlier.
...
It doesn't perform bankers rounding for double IO which breaks all our tests.
2022-02-12 16:48:33 +00:00
jzmaddock
685302681b
Add missing test case.
2022-02-11 18:25:13 +00:00
jzmaddock
485fa7c9ae
Fix output at zero decimal precision and fixed formatting...
...
To output rounded to nearest integer.
Add new tests.
Fixes: https://github.com/boostorg/multiprecision/issues/416
Fixes: https://github.com/boostorg/multiprecision/issues/388
2022-02-11 10:13:16 +00:00
John Maddock
a808e7dae0
Merge branch 'develop' of https://github.com/mgeck64/multiprecision into issue388
2022-02-08 18:06:03 +00:00
jzmaddock
456fb89cdc
Merge pull request #433 from boostorg/gcc-warn-cpp_int
...
Minor gcc warning fix.
2022-02-07 11:14:44 +00:00
jzmaddock
6bcea5a371
Minor gcc warning fix.
2022-02-06 18:35:52 +00:00
jzmaddock
bf5a97db4c
Merge pull request #432 from boostorg/issue431
...
[ci skip] Fixes #431 via not-defined __clang__
2022-02-06 09:15:11 +00:00
jzmaddock
c5881f0d11
Merge pull request #430 from boostorg/issue427
...
Collected fixes for issue 427
2022-02-06 09:12:45 +00:00
Christopher Kormanyos
a2c0eaca28
[ci skip] Fixes #431 via not-defined __clang__
2022-02-05 14:20:00 +01:00
jzmaddock
86dd778d9e
Correct msvc platform name in the CI script.
2022-02-05 11:17:57 +00:00
John Maddock
99fa8f6d9e
Merge branch 'master' of https://github.com/svigerske/multiprecision into issue427
2022-02-04 19:20:46 +00:00
jzmaddock
fefe6e98e3
Correct intel _Quad to string conversion.
2022-02-04 19:20:21 +00:00
jzmaddock
28b314828d
Merge pull request #421 from boostorg/issue419
...
Update gcc Intel intrinsic usage config.
2022-02-04 11:19:10 +00:00
Christopher Kormanyos
0c4ee79df8
Merge pull request #425 from boostorg/try_to_get_gcc5_back_in_ci
...
Fix #424 GCC5 in CI and find overflow in test
2022-02-02 22:09:10 +01:00
Christopher Kormanyos
a57d0c7d43
[ck skip] Merge branch 'develop' into try_to_get_gcc5_back_in_ci
2022-02-02 11:56:49 +01:00
Christopher Kormanyos
ea0b1ab9d3
[ci skip] Restore all of original ci
2022-02-02 11:55:16 +01:00
Christopher Kormanyos
33adaa160c
[ci skip] clean the test code under observation
2022-02-02 11:41:52 +01:00
Christopher Kormanyos
35e1c29dab
Repair the use of static_assert
2022-02-02 10:18:06 +01:00
jzmaddock
6e22c23e0b
Merge pull request #428 from boostorg/issue426
...
Ensure remainder has correct sign when the result is zero.
2022-02-02 09:07:53 +00:00
Christopher Kormanyos
35b0bd7047
Try repair test_cpp_rational (not just g++-5)
2022-02-02 09:58:44 +01:00
Christopher Kormanyos
421778741c
Revise timer and print debug points in test
2022-02-02 09:00:39 +01:00
Christopher Kormanyos
41acf076e2
Repair timer constexpr-ness again
2022-02-01 23:22:27 +01:00
Christopher Kormanyos
d3f70d9131
Remember #include <chrono> in reworked timer
2022-02-01 22:53:50 +01:00
Christopher Kormanyos
8810158a36
Complete rework or timer.hpp
2022-02-01 20:15:37 +01:00
jzmaddock
a8ab907e20
Ensure remainder has correct sign when the result is zero.
...
Also ensure float128 specializations of eval_signbit are actually called.
Change return type of signbit to bool to match std::signbit and update docs.
Add test case.
Fixes https://github.com/boostorg/multiprecision/issues/426 .
2022-02-01 19:02:02 +00:00
Christopher Kormanyos
ab4068978e
Be safer with obvious float artifacts (if any)
2022-02-01 18:49:04 +01:00
Christopher Kormanyos
376ffc4279
Try repair syntax on running test_cpp_rational(s)
2022-02-01 14:49:50 +01:00
Christopher Kormanyos
fa69ae1f2b
Resolve g++-5 tests for FP except search
2022-02-01 13:19:44 +01:00
Stefan Vigerske
809e06e73d
replace __float128 by float128_type
...
- for cases where float128_type is not __float128, e.g., Intels _Quad
- fixes boostorg/multiprecision#411
2022-02-01 06:41:00 +01:00
Christopher Kormanyos
0b57300cbd
Try again add g++-5 to dedicated ci runs
2022-01-31 18:22:53 +01:00
Christopher Kormanyos
8f48a44de8
Add g++-5 to one ci matrix and see how it goes
2022-01-31 18:08:55 +01:00
Christopher Kormanyos
d7a0a2baed
Merge pull request #422 from mborland/ci_failures
...
Fix for boost.math CI failures
2022-01-29 12:32:15 +01:00
Matt Borland
5f1ca7daa5
Fix for boost.math CI failures
2022-01-27 20:05:06 +02:00
jzmaddock
d1343f28dc
Update gcc Intel intrinsic usage config.
...
Fixes https://github.com/boostorg/multiprecision/issues/419 .
2022-01-25 09:27:40 +00:00
jzmaddock
1b345f5c78
Add missing linker options to standalone tests.
...
Fixes linker errors when building with -std=gnu++XX and new test_arithmetic.hpp version.
2022-01-24 18:19:04 +00:00
jzmaddock
487b8f5f2a
Merge pull request #412 from boostorg/sincos_reduction
...
Check for over large reduction before we assert.
2022-01-24 11:50:28 +00:00
jzmaddock
6d90253ee5
Merge pull request #417 from boostorg/issue415
...
Fix some mpq rational arithmetic errors:
2022-01-24 09:07:49 +00:00
jzmaddock
150cf95712
Stop relying on if constexpr in new test case.
2022-01-23 09:17:37 +00:00
jzmaddock
4bfdc1bae1
Fix some mpq rational arithmetic errors:
...
Multiplication by zero should not proceed via gcd.
Multiplication by scalar should be restricted to integer types (not floats).
Add some more tests to catch these cases.
2022-01-22 18:34:09 +00:00
jzmaddock
751c374d85
Merge pull request #414 from boostorg/issue413
...
Suppress -Wmaybe-uninitialized in cpp_int.hpp for gcc.
2022-01-21 11:43:25 +00:00
jzmaddock
637e2fb418
Suppress -Wmaybe-uninitialized in cpp_int.hpp for gcc.
...
Fixes: https://github.com/boostorg/multiprecision/issues/413 .
2022-01-20 11:07:03 +00:00
jzmaddock
b895ee0d6e
Check for over large reduction before we assert.
...
Found why testing sinh_sinh integration in Boost.Math.
2022-01-15 11:48:17 +00:00
jzmaddock
c6eb0536d7
Merge pull request #409 from mborland/standalone_fixes
...
Standalone fixes
2022-01-10 17:02:17 +00:00
Matt Borland
b038c911a0
Changes to eigen class to be compatible with standalone
2022-01-09 11:16:44 +02:00
Matt Borland
2e067d2d76
Disable lexical_cast in standalone mode
2022-01-08 09:47:05 +02:00
Matt Borland
c7cbbbd840
Fix macro error from rebase
2022-01-07 14:10:30 +02:00
Matt Borland
50957704b3
Revert "Revert "Merge pull request #403 from mborland/standalone_fixes""
...
This reverts commit 04b327b24f .
2022-01-06 20:37:43 +02:00
Matt Borland
cd0a42625c
Use gmp free_function instead of std::free()
2022-01-06 20:33:10 +02:00
Matt Borland
5884e3e05d
Revert gmp eigen changes
2022-01-06 20:32:49 +02:00
Matt Borland
a7c6ec8250
Add clion configs to gitignore
2022-01-06 20:31:44 +02:00