2033 Commits

Author SHA1 Message Date
jzmaddock
e1ae1e4dc3 Fix selection logic in intel_intrinsics.hpp
To correctly exclude msvc+arm.
Fixes https://github.com/boostorg/multiprecision/issues/405
2021-12-18 16:58:47 +00:00
jzmaddock
38b781d674 Merge pull request #404 from boostorg/issue362
Change all bit counts to use size_t/ptrdiff_t
2021-12-18 09:16:15 +00:00
jzmaddock
2dc0c2c95c Correct some constants and traits classes.
To do the right thing in the face of size_t bit counts.
2021-12-17 19:31:10 +00:00
jzmaddock
c72c479023 Change all bit counts to use size_t/ptrdiff_t.
Fixes https://github.com/boostorg/multiprecision/issues/362
2021-12-15 15:18:47 +00:00
jzmaddock
ae592ade3d Correct error logic in test/test_convert_cpp_int_2_float.cpp.
Previously we were accidentally passing a negative value to the shift operator.
2021-12-13 18:20:16 +00:00
jzmaddock
5bd6f37c83 Merge pull request #402 from boostorg/issue400
Update Eigen support.
2021-12-13 09:38:57 +00:00
jzmaddock
2d501d88f8 Update C++ std version check
So that we don't catch pre-std C++2a versions by mistake.
2021-12-12 13:16:38 +00:00
jzmaddock
ffcfe8112a Update Eigen tests
For what is an isn't possible in C++20.
2021-12-11 10:48:47 +00:00
jzmaddock
b8d35ee82a Add eigen3 to CI include path. 2021-12-10 10:03:05 +00:00
jzmaddock
d84f1d9f51 Merge branch 'develop' into issue400
Fixed Conflicts:
	test/Jamfile.v2
2021-12-10 10:01:42 +00:00
Christopher Kormanyos
6eec3d6d28 Merge pull request #386 from mborland/standalone
Merge bulk of Standalone w/refinements to come
2021-12-10 08:10:38 +01:00
Matt Borland
c5e0a243a2 Replace boost false type with std 2021-12-09 23:38:45 +02:00
jzmaddock
907a35e8da Update CI package dependency lists. 2021-12-09 16:37:28 +00:00
Matt Borland
714f22c160 Merge remote-tracking branch 'boostorg/standalone_chris' into standalone 2021-12-09 17:51:37 +02:00
jzmaddock
c5eda8ad18 Update Eigen NumTraits code.
Eigen's requirements have changed in version 3.4.
Also improve testing and better support variable precision types.
2021-12-09 15:40:48 +00:00
Christopher Kormanyos
3ce7200d76 [ci skip] Merge branch 'develop' into standalone_chris 2021-12-09 13:06:11 +01:00
jzmaddock
303da72157 Merge pull request #401 from boostorg/issue360
Update cpp_int->float conversion.
2021-12-09 11:41:06 +00:00
Matt Borland
d967ddfc5d Add standalone signed conversions for tommath 2021-12-09 00:04:28 +02:00
jzmaddock
11da1dcd2f Update cpp_int->float conversion.
Ensures correct round to nearest regardless of value of floating point control flags.
Fixes https://github.com/boostorg/multiprecision/issues/360.
2021-12-08 19:27:09 +00:00
jzmaddock
785772b494 Merge pull request #395 from mborland/float128
Fix for issue #391
2021-12-08 08:38:18 +00:00
Matt Borland
595c9017c8 Add standalone testing for GMP and tommath 2021-12-07 21:54:17 +02:00
Matt Borland
acc9196bce Merge remote-tracking branch 'boostorg/standalone_chris' into standalone 2021-12-06 17:13:15 +02:00
Christopher Kormanyos
778a1dc1c9 [ci skip] sync with Matt and go for GMP/MPFR 2021-12-06 10:51:39 +01:00
Matt Borland
3f19125acd Add uint128_t workaround 2021-12-05 16:02:12 +02:00
jzmaddock
efdc17099d Merge pull request #398 from boostorg/issue393
Add workaround to is_byte_container for Eigen interop.
2021-12-05 09:09:17 +00:00
Matt Borland
239ea812b5 Fix merge conflicts 2021-12-05 10:59:19 +02:00
Matt Borland
6edd26bfd2 INT128 workaround 2021-12-05 10:58:05 +02:00
Christopher Kormanyos
96ccd5da6f [ci skip] sync with Matt and find trivial stuff 2021-12-04 19:23:32 +01:00
Matt Borland
6ef6f20c6b Changes to standalone testing and missing headers 2021-12-04 15:58:05 +02:00
jzmaddock
fb312b02e3 Add workaround to is_byte_container for Eigen interop.
Fixes: https://github.com/boostorg/multiprecision/issues/393
2021-12-04 11:56:57 +00:00
jzmaddock
fb9ab60e86 Merge pull request #397 from boostorg/signed_zero
Fix signed zero arithmetic and add tests.
2021-12-04 10:28:46 +00:00
Matt Borland
f54db08720 Remove boost.type_traits and integer_traits from cpp_bin_float 2021-12-03 23:40:01 +02:00
jzmaddock
bb34c0c2e7 Finish fixing up complex arithmetic for correct signed zeros.
Moved complex tests into their own file.
Simplified by removing complex support from test_signed_zero.cpp
2021-12-03 19:51:20 +00:00
jzmaddock
89a1d5b178 Update test_signed_zero.cpp for complex_adaptor tests. 2021-12-03 18:40:12 +00:00
jzmaddock
990b9eddf3 Have mpfr print sign of zero. 2021-12-03 18:20:40 +00:00
jzmaddock
fe6f3be8f2 Correct mpc rounding mode. 2021-12-03 18:20:13 +00:00
jzmaddock
56cd673220 Correct sign of zero result when dividing complex by scalar. 2021-12-03 18:19:41 +00:00
Matt Borland
3523c14bb8 Fix exception safety and more uses of boost::lexical_cast 2021-12-03 20:01:19 +02:00
Matt Borland
cca570d213 Add missing header and warning suppression 2021-12-03 13:07:26 +02:00
Matt Borland
215b1eb84a Fix lexical_cast exception handling 2021-12-03 12:28:52 +02:00
Christopher Kormanyos
76ec7d4940 [ci skip] minimal changes from mborland 2021-12-03 08:57:46 +01:00
Matt Borland
f1fa6e8c2e Remove use of boost.lexical_cast 2021-12-02 21:48:21 +02:00
Christopher Kormanyos
4cb131b6e6 [ci skip] Workaround dec_float's to_string standalone 2021-12-02 13:10:00 +01:00
Christopher Kormanyos
b8b7ec6993 [ci skip] dec-float sqrt bare metal ARM CM4 runs 2021-12-02 08:30:50 +01:00
Matt Borland
a7a5dbdcbd Replacement of boost with std and improve readability 2021-12-01 17:19:50 +02:00
jzmaddock
44b11606d0 Add missing test case. 2021-12-01 09:46:24 +00:00
jzmaddock
59bf8de6aa Fix signed zero arithmetic and add tests.
Fixes: https://github.com/boostorg/multiprecision/issues/396
2021-12-01 09:41:50 +00:00
Christopher Kormanyos
33b40cbe36 [ci skip] Catch some standalone in cpp_int and more 2021-11-30 17:33:03 +01:00
Matt Borland
d4aa25418a Qualify std namespaces 2021-11-30 18:09:10 +02:00
Matt Borland
10dce215eb Remove use of boost.core and update cmakelists.txt 2021-11-28 16:10:47 +02:00