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
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
Matt Borland
b01de9c299
Fix jamfile for windows builds
2021-11-22 20:33:06 +02:00
Matt Borland
ab07205c06
Fix merge conflict
2021-11-21 20:36:18 +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
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
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
John Maddock
f5144e5ce0
Merge branch 'develop' into rational_adaptor_standalone
2021-09-29 18:04:56 +01:00
jzmaddock
cab664d086
We need double_limb type for quotient calculation in Lehmers routine.
...
Fixes https://github.com/boostorg/multiprecision/issues/370 .
2021-09-26 11:32:03 +01:00
jzmaddock
dd4f4cc732
Fix some clang issues.
2021-09-25 19:10:22 +01:00
jzmaddock
6d4cd18f02
Update for better interoperability of rationals and integers.
...
Fix generic_interconvert.hpp for unsigned types.
Update performance testing code to include testing with ::value_type.
Start testing unsigned and checked integer types with rational_adaptor.
Update arithmetic tests to test mixed arithmetic with ::value_type.
2021-09-15 13:16:49 +01:00
jzmaddock
1b31fbea21
Correct bug in rational division logic.
...
Add more tests.
2021-09-06 19:22:24 +01:00
jzmaddock
b7031c999e
Add proper tests for rational_adaptor.
2021-09-06 17:16:15 +01:00
jzmaddock
e6d136bc50
First cut at new rational_adaptor.
2021-09-02 10:53:35 +01:00
Matt Borland
3692daee01
Add is_ci_sanitizer_run
2021-07-28 21:12:55 +03: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
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
bb43e08274
Merge pull request #339 from boostorg/to_string
...
Implement to_string via ADL.
2021-06-23 09:08:09 +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
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
John Maddock
019a169414
Merge branch 'develop' of https://github.com/leviska/multiprecision into better-sqrt
2021-06-14 19:22:57 +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
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
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
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
c2a9010c3a
More -bigobj flags needed.
2021-06-04 09:08:27 +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
Iskandarov Lev Andreevich
e774d1c71f
added license and fixed constexpr init
2021-05-31 23:17:38 +03:00
Iskandarov Lev Andreevich
caf64c5238
accidental change revert
2021-05-26 22:08:36 +03:00
Iskandarov Lev Andreevich
a20cedc289
Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop
2021-05-26 22:06:10 +03:00
Iskandarov Lev Andreevich
9c24e3fd3c
rewrite of integer sqrt
2021-05-26 22:05:38 +03:00
John Maddock
86270f5b9c
Merge branch 'develop' into better_gamma_testing
2021-05-25 12:11:16 +01:00
jzmaddock
27e90b9e2a
Adjust mpfr error rates for binomial coefficient.
2021-05-24 18:22:15 +01:00
jzmaddock
3832c6aae1
Remove big_lanczos.hpp.
2021-05-24 10:15:48 +01:00
jzmaddock
c9ef5f4214
Improve CI testing of tgamma at various precisions.
...
Also run the special function tests for select compilers.
NOTE: this still has some failures which need investigating.
2021-05-21 21:26:34 +01:00
Christopher Kormanyos
f774baff33
Test dec/bin tgamma (maybe to replace in future)
2021-05-21 14:19:22 +02:00
Christopher Kormanyos
57b4ae6fff
Repair new tgamma tests for legacy C++11
2021-05-20 17:09:13 +02:00
Christopher Kormanyos
14ca6f139b
[ci skip] Improved draft potential tgamma tests
2021-05-20 15:22:21 +02:00
Christopher Kormanyos
bc1cea37d0
Add cpp_dec_float tgamma tests 10/35/105 digits
2021-05-19 21:20:25 +02:00
jzmaddock
d27b240a3f
Update test_preserve_all_precision.cpp
...
To account for the actual type that the backend sees.
2021-05-11 18:31:41 +01:00
jzmaddock
49e66898ba
Add support for uniform precision without checks.
2021-05-10 18:46:03 +01:00
jzmaddock
f9f5724252
Implement preserve_all_precision and add tests.
2021-05-10 11:36:15 +01:00