1987 Commits

Author SHA1 Message Date
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
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
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
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
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
jzmaddock
18b0c1edd0 Merge pull request #380 from mborland/random
Remove boost.random dependency
2021-11-26 09:15:13 +00:00
jzmaddock
c3db47a393 Merge pull request #394 from mborland/integer
Remove boost.integer dependency
2021-11-26 09:11:32 +00:00
Matt Borland
bc29fc9177 Fix for issue #391 2021-11-22 23:19:26 +02:00
Matt Borland
7779e9ea54 Add missing include to performance tests 2021-11-22 22:43:45 +02:00
Matt Borland
3fc280694d Utilize existing gcd code 2021-11-22 22:34:22 +02:00
Matt Borland
20556f024c remove common factor 2021-11-22 21:14:26 +02:00
Matt Borland
fbf4a845c4 remove static_min_max 2021-11-22 21:13:54 +02:00
Matt Borland
b01de9c299 Fix jamfile for windows builds 2021-11-22 20:33:06 +02:00
jzmaddock
d6b0f2ecd5 Merge pull request #382 from mborland/core
Remove boost.core dependencies
2021-11-22 16:44:32 +00:00
Matt Borland
62d867a10e Missing header in example 2021-11-21 20:39:40 +02:00
Matt Borland
ab07205c06 Fix merge conflict 2021-11-21 20:36:18 +02:00
Matt Borland
9ce8c65852 Remove nvp implementation and replace with include guards 2021-11-21 19:33:40 +02:00
Matt Borland
0714f859b4 Remove boost/core/no_exceptions_support dependency 2021-11-21 17:57:09 +02:00
Matt Borland
855c99dd58 Revert testing changes 2021-11-21 17:48:22 +02:00
jzmaddock
075389cafa Merge pull request #390 from xgupta/patch-1
[README] make sure you build the B2 engine before running it
2021-11-16 12:02:53 +00:00
Shivam Gupta
49958c06ea [README] make sure you build the B2 engine before running it
Running tests as mentioned in the last step of README.md gives an error of `zsh: no such file or directory: ../../../b2`. We first need to have that b2 file to run it.
2021-11-16 17:30:37 +05:30
jzmaddock
3ba1d3dcd3 Update history and regenerate docs. 2021-11-06 19:05:51 +00:00
jzmaddock
7fc9274bcf Default constructed rational_adaptor should have zero value.
Fixes: https://github.com/boostorg/multiprecision/issues/387
2021-10-27 19:31:36 +01:00
jzmaddock
6411738d03 Merge pull request #379 from mborland/predef
Remove boost.predef dependency
2021-10-23 12:30:03 +01:00
jzmaddock
5d53cc4aee Merge pull request #385 from boostorg/issue383
Fix type_traits usage with clang.
2021-10-20 17:02:59 +01:00
jzmaddock
1d89a3e966 Fix type_traits usage with clang.
Prevents recursive instantiation of is_constructible.
Fixes https://github.com/boostorg/multiprecision/issues/383.
2021-10-19 19:21:10 +01:00
Matt Borland
d98f27034d Replace boost/core/empty_value 2021-10-15 22:24:37 +03:00
Matt Borland
a23b3e75f5 Implement uniform_int_distribution
[CI SKIP]
2021-10-13 20:33:19 +03:00
Matt Borland
d3bb2abfe8 Remove boost.random dependency 2021-10-10 14:00:36 +03:00
Matt Borland
d5c2a91eb5 Removed flawed endian branch 2021-10-09 20:07:35 +03:00
Matt Borland
d6f6736b50 Remove boost.predef dependency 2021-10-09 11:54:22 +03:00
jzmaddock
ae22ab59c8 Merge pull request #376 from mborland/config
Consolidate uses of boost.config into standalone config
2021-10-07 09:12:13 +01:00
Matt Borland
8e4d22623f Consolidate uses of boost.config into standalone config 2021-10-06 21:24:35 +03:00
jzmaddock
cda8412bde Merge pull request #373 from mborland/cpp_int_config
Remove dependencies from cpp_int_config
2021-10-06 08:21:36 +01:00
Matt Borland
77472ef643 Add include guard for int128_type typedef 2021-10-04 21:54:53 +03:00
Matt Borland
4881419313 Require Boost.Config, Remove BOOST_STATIC_ASSERT and add typedef checks 2021-10-04 21:17:19 +03:00
jzmaddock
4815cb0888 Merge pull request #366 from boostorg/rational_adaptor_standalone
First cut at new rational_adaptor.
2021-10-04 12:29:59 +01:00
Matt Borland
cb2a2c4ee2 Add standalone configuration options 2021-10-03 11:42:56 +03:00
Matt Borland
ef7a4e56cd Remove boost.integer dependency 2021-10-02 11:57:18 +03:00
Matt Borland
5680ef1ebd Replace boost types with builtins 2021-10-02 11:18:54 +03:00
Matt Borland
c3c2dfca01 Remove boost.assert dependency 2021-10-02 10:57:48 +03:00
jzmaddock
e4827ced22 Change type casts to std::move calls to better reflect what's going on. 2021-10-01 13:36:57 +01:00
jzmaddock
ae9cf23a11 Documentation update for the new rational_adaptor.
Includes updating all the performance results.
2021-09-30 19:45:16 +01:00