Matt Borland
366a6bc66d
Further reduce and split tests
2024-07-09 09:16:44 -04:00
Matt Borland
90e85c11bb
Separate runs into ci block 1 and 2
2024-07-08 13:27:12 -04:00
Matt Borland
3934523721
Fix node20 breakage
2024-07-08 10:58:37 -04:00
Matt Borland
4f37ba0c14
Add ppc64le testing to ci
2024-07-08 10:58:31 -04:00
Christopher Kormanyos
1a06c2ee0c
Merge pull request #629 from boostorg/update_docs
...
Update docs
2024-07-04 06:53:33 +02:00
Christopher Kormanyos
5985811d67
Update README.md
2024-07-03 21:48:57 +02:00
Christopher Kormanyos
61fbe1fd9a
Update README.md
2024-07-03 21:46:39 +02:00
Christopher Kormanyos
41b39de2cb
Update README.md
2024-07-03 21:46:21 +02:00
ckormanyos
0d73ce094a
Update docs
2024-07-03 21:43:42 +02:00
jzmaddock
c0ff9cffda
Ensure checked integers are in a sane state after a throw. ( #627 )
...
Ensure checked integers are in a sane state after a throw.
Document that the value of the target operand is unspecified after a throw.
Improve testing.
Fixes https://github.com/boostorg/multiprecision/issues/626
2024-06-24 09:12:03 +01:00
jzmaddock
58b396288e
Correct divide-by-zero in cpp_int modulus operations. ( #625 )
...
Correct divide-by-zero in cpp_int modulus operations.
Also added some more efficient operator overloads for the trivial case.
Fixes https://github.com/boostorg/multiprecision/issues/624
2024-06-21 17:14:54 +01:00
jzmaddock
f9fdcc2b31
Correct sinc implementations to match latest Boost.Math.
2024-06-15 16:05:42 +01:00
jzmaddock
7646f8ec67
Merge pull request #618 from tchaikov/convert-noexcept
...
make sure eval_convert_to() do not terminate with super large number
2024-05-04 17:46:20 +01:00
Kefu Chai
ea786494db
make sure eval_convert_to() do not terminate with super large number
...
this change is a follow-up of d51f2e9dbb . it intends to
address the exception thrown in a noexcept functon.
a minimal reproducer looks like
```c++
int main() {
std::string s = "32767456456456456456545678943512357658768763546575675";
boost::multiprecision::cpp_int num(s);
std::cout << num.convert_to<float>() << std::endl;
}
```
since boost 1.79, the code above terminates like
```
Program returned: 139
Program stderr
terminate called after throwing an instance of 'boost::wrapexcept<std::domain_error>'
what(): Error in function float_next<float>(float): Argument must be finite, but got inf
Program terminated with signal: SIGSEGV
```
because `float_next_imp()` throws 'boost::wrapexcept<std::domain_error>'
if the number is NAN of INF. and `eval_convert_to()` is marked as
`noexcept(boost::multiprecision::detail::is_arithmetic<R>::value &&
std::numeric_limits<R>::has_infinity)`,
but only `overflow_error` is ignored in the policy passed to
`float_next()`.
so, in this change, `std::domain_error` is ignored as well, so that
``num.convert_to<float>()` returns a NaN in this case.
Refs #553
Signed-off-by: Kefu Chai <tchaikov@gmail.com >
2024-05-04 09:02:32 +08:00
Matt Borland
fe3054f4b8
Merge pull request #616 from boostorg/codecov
...
Improve codecov reliability
2024-04-24 10:27:15 +02:00
Matt Borland
6cd292e368
Split coverage into multiple runs like boost.math
2024-04-24 08:28:27 +02:00
Matt Borland
0341b9be95
Improve reliability of codecov upload
2024-04-24 08:25:53 +02:00
jzmaddock
2e81e42a0a
Type which are convertible to a number should not participate in arit… ( #609 )
...
* Type which are convertible to a number should not participate in arithmetic operator overloads.
Fixes https://github.com/boostorg/multiprecision/issues/608
2024-03-07 17:23:49 +00:00
Matt Borland
ffe506aacb
Merge pull request #603 from boostorg/tommath
...
Workaround for type change in tommath
2024-03-04 10:39:28 +01:00
Matt Borland
5675c50623
Workaround for type change in tommath
2024-03-04 08:34:36 +01:00
jzmaddock
3c9ff4d6ff
Update version history.
...
Regenerate docs.
2024-03-03 17:56:28 +00:00
jzmaddock
438b9fc672
Merge pull request #606 from boostorg/mpfr_error_handling
...
Correct error handling in mpfr specfun overloads.
2024-03-02 10:14:41 +00:00
jzmaddock
fe60def8ca
Correct standalone error handling.
2024-03-01 19:13:25 +00:00
jzmaddock
ab15f2f4cb
Correct error handling in mpfr specfun overloads.
2024-03-01 13:13:23 +00:00
jzmaddock
42a3edf55e
Merge pull request #605 from boostorg/issue604
...
Fix up default fmod to perform post-condition checking.
2024-03-01 13:11:32 +00:00
jzmaddock
062503f1b3
Add missing file.
2024-02-29 19:49:33 +00:00
jzmaddock
5e24597fa3
Fix up default fmod to perform post-condition checking.
...
Fixes https://github.com/boostorg/multiprecision/issues/604 .
2024-02-29 19:18:49 +00:00
jzmaddock
f0319ec047
Trivial patches for enhanced Math tests.
2024-02-29 08:42:18 +00:00
jzmaddock
27666619b8
Merge pull request #597 from boostorg/issue595
...
Update complex_adaptor to match precision requirements.
2024-02-10 09:05:58 +00:00
Christopher Kormanyos
4038c7738c
Merge pull request #596 from boostorg/docs_codecov_badge
...
Add CodeCov badge for develop
2024-02-10 08:56:20 +01:00
jzmaddock
d9bb0dd92c
Correct test in Jamfile.v2
2024-02-09 19:49:13 +00:00
jzmaddock
467f09cab2
Update complex_adaptor to match precision requirements.
...
Add test case.
Fixes https://github.com/boostorg/multiprecision/issues/595
2024-02-09 17:17:59 +00:00
Christopher Kormanyos
46988e4f9d
Correct more docs LaTeX typos
2024-02-09 16:02:51 +01:00
Christopher Kormanyos
1dd06d1b60
Repair LaTeX typos
2024-02-09 16:01:14 +01:00
Christopher Kormanyos
3c1174099a
Clean up badge and add use case
2024-02-09 15:58:12 +01:00
Christopher Kormanyos
b40a4711d3
Separate CodeCov Badges master/develop
2024-02-09 15:31:39 +01:00
Christopher Kormanyos
e06de833fe
[ci skip] Add CodeCov badge for develop
2024-02-09 14:49:12 +01:00
Matt Borland
de240992c3
Merge pull request #590 from boostorg/deprecation
...
Update GHA to remove Node deprecation warnings
2024-01-24 13:49:21 +01:00
Matt Borland
e644cd3a93
Update GHA to remove Node deprecation warnings
2024-01-24 11:53:07 +01:00
Christopher Kormanyos
353b3092a3
Merge pull request #587 from boostorg/issue586
...
Fixes #586 via resolve conflict overloads
2024-01-23 18:05:01 +01:00
Christopher Kormanyos
29ca08c870
Adopt simplification from PR
2024-01-23 13:33:19 +01:00
Christopher Kormanyos
0ba82698d0
Prelim fix issue586 (if none better found)
2024-01-22 19:13:51 +01:00
Christopher Kormanyos
878138ad14
Merge pull request #585 from boostorg/reduce_dec_float_truncation
2024-01-19 11:51:15 +01:00
Christopher Kormanyos
73fb4d3f0e
Increase CodeCov tolerances on push etc
2024-01-19 08:16:44 +01:00
Christopher Kormanyos
19910ae9dc
Reduce truncation in dec_float multiplication
2024-01-19 06:40:45 +01:00
Matt Borland
e584f4f35d
Merge pull request #583 from lrineau/patch-1
...
fix a typo in README.md
2024-01-05 03:43:31 -05:00
Laurent Rineau
707cb85526
fix a typo in README.md
2024-01-05 09:41:08 +01:00
Matt Borland
ae5bd44e67
Merge pull request #581 from boostorg/codecov
...
Add codecov run to CI
2024-01-05 00:56:30 -05:00
Matt Borland
78ce19aa2a
Reduce run time
2024-01-04 17:50:01 +01:00
jzmaddock
7f1dc85b71
Merge pull request #582 from boostorg/gcc-warn-string_helpers
...
Minor GCC sign-conversion warning fix
2023-12-28 11:17:01 +00:00