2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-26 16:52:27 +00:00
Commit Graph

6353 Commits

Author SHA1 Message Date
Matt Borland
bfb8e7d039 Fix for issue #871 (#872) 2022-12-07 11:57:12 -08:00
Matt Borland
62dfa025d7 Disable C6326: Potential comparison of a constant with another constant boost-1.81.0.beta1 2022-10-27 18:05:16 +01:00
John Maddock
182742bfac Merge branch 'develop' 2022-10-24 18:51:14 +01:00
jzmaddock
a8f0f0a1e2 Update history.
Regenerate docs.
Fix a few quickbook build warnings.
[CI SKIP]
2022-10-24 18:49:57 +01:00
Warren Weckesser
eb3fa54761 DOC: Fix a typo in the 'Standalone Usage' section. (#852) 2022-10-23 14:30:41 -07:00
Sam Darwin
989fffba5d Drone minor config update (#850) 2022-10-20 13:23:48 -07:00
Matt Borland
53534c5505 Fix for scipy issue 17146 (#847)
See: https://github.com/scipy/scipy/issues/17146
2022-10-17 17:54:46 -07:00
Matt Borland
dfdb50caca Fix for issue 845 (#846)
* Fix for issue 845

Avoid division by zero in special cases
2022-10-17 13:52:56 -07:00
Matt Borland
9da3a0abb0 Fix warnings in quadrature tests (#844) 2022-10-16 07:51:52 -07:00
Rose
aa242e5639 Fix spelling of "Ubuntu" (#843) 2022-10-15 06:43:58 -07:00
Matt Borland
c65f834412 Merge pull request #840 from mborland/update_CI
Update deprecated workflows
2022-10-14 08:13:19 -07:00
Matt Borland
bfb0295760 Remove deprecated CI skip filter 2022-10-13 07:15:46 -07:00
Rose
a978d95d8d Change looping over array to be unsigned (#830) 2022-10-13 07:06:46 -07:00
Nicholas McKibben
7ad016f34b short-circuit overflow protection for M1 Mac clang (#827)
xref scipy/scipy#14901

Splits single if statement into two to avoid apparent clang short-circuit bug on M1 Mac platforms.

Co-authored-by: Matt Borland <matt@mattborland.com>
2022-10-12 15:03:13 -07:00
Rose
2a07116411 Fix bytes behavior (#828)
"this" is a pointer, not a reference, so we need to find the size of the referenced object.
2022-10-12 08:27:42 -07:00
Matt Borland
3ac2fb2a6b Update deprecated workflow 2022-10-11 11:54:25 -07:00
Nick
aac1131351 Specify seed in random tests. (#839) 2022-10-09 12:42:41 -07:00
Rose
38034fa576 Fix Clang-15 warnings (#831)
Redundant casts, noexcept for move constructors, and usage of default and delete make the code more performant and maintainable.
2022-10-09 19:18:24 +01:00
jzmaddock
ddf0143a8c BREAKING CHANGE: Correct definition of user_rounding_error, (#836)
* BREAKING CHANGE: Correct definition of user_rounding_error,
To return correct type.
Likewise fix up a few other rounding error inconsistencies.
Fixes https://github.com/boostorg/math/issues/834.

* Remove redundant error handler.
2022-10-09 09:14:27 +01:00
Nick
ea9c3a27e9 Fix quartic roots when depressed cubic only has single real root (#838) 2022-10-08 21:39:08 -07:00
jzmaddock
9346271a45 Fix Issue 833 (#835)
* Correct 1F1[-n, -n, x]
To match what Mathematica does.
Fixes: https://github.com/boostorg/math/issues/829

* Pass policy in forwarding call to gamma_q.

* Fix bug in 1F1 recurrence relations when one term goes to zero.
Fixes issue with 1F1[-n, n, n].
Also reduce cancellation error in a = -1 special case.
Fixes https://github.com/boostorg/math/issues/833.
2022-10-07 09:35:26 +01:00
jzmaddock
92775b53fc Correct 1F1[-n, -n, x] (#832)
* Correct 1F1[-n, -n, x]
To match what Mathematica does.
Fixes: https://github.com/boostorg/math/issues/829
2022-10-06 11:10:56 +01:00
Antony Polukhin
a3c2c0d0b2 Modernize exception specification (#822)
Replace `throw()` with `BOOST_NOEXCEPT_OR_NOTHROW`
2022-09-27 11:07:58 -07:00
Matt Borland
ad34fe1785 Merge pull request #824 from HDembinski/remove_extra_semicolon
remove extra semicolon
2022-09-18 08:01:52 -07:00
Hans Dembinski
5f704c76a5 remove extra semicolon, fixes 2022-09-18 10:23:46 +02:00
Matt Borland
1ce6dda2fb Merge pull request #819 from mborland/better_copysign
Improve ccmath signbit and copysign
2022-08-26 09:28:23 -07:00
Matt Borland
48edf590f4 Fix include logic for <bit> and assert 0 and NAN when no bit_cast 2022-08-26 09:27:23 -07:00
Matt Borland
2bd2859660 Fix warning for width exceeding type 2022-08-26 09:27:23 -07:00
Matt Borland
2b50b522fa Use improved signbit in copysign impl 2022-08-26 09:27:23 -07:00
Matt Borland
50a581240e Fix x86 padding and make all types fixed length 2022-08-26 09:27:23 -07:00
Matt Borland
3a69eaf7da Add NAN and Zero support for long doubles 2022-08-26 09:27:23 -07:00
Matt Borland
a0d3b809b0 Add NAN and Zero support for doubles 2022-08-26 09:27:23 -07:00
Matt Borland
80efcf6db6 Fix macro logic for older compliers 2022-08-26 09:27:23 -07:00
Matt Borland
d62f0d9ba0 Add NAN and Zero support for float 2022-08-26 09:27:23 -07:00
jzmaddock
d2a9c9e8b6 Merge pull request #815 from boostorg/complete_elliptic_optimizations
Improve performance of the Complete Elliptic Integrals.
2022-08-24 12:52:16 +01:00
jzmaddock
de7928e39b Disable new ellint code for clang-7. 2022-08-24 08:41:00 +01:00
jzmaddock
c8fdd65521 Re-factor nested calls from ellint_3->ellint_1.
See if it fixes the clang-7 audodiff issues.
2022-08-23 19:37:06 +01:00
John Maddock
7d219b2074 Merge branch 'develop' into complete_elliptic_optimizations 2022-08-22 19:06:48 +01:00
jzmaddock
58ab7db62f Define BOOST_FORCEINLINE in standalone mode. 2022-08-18 11:18:35 +01:00
jzmaddock
10bd7be0f1 ellint_1/2 performance tweaks.
Add Google bench to probe changes more easily.
Update graphs and docs.
2022-08-17 19:21:03 +01:00
Matt Borland
f111b6a5de Merge pull request #817 from mborland/readme
Update Readme
2022-08-14 09:29:37 -07:00
Matt Borland
d211941526 Update Readme 2022-08-14 09:28:26 -07:00
jzmaddock
9302b79221 Correct some accuracy issues in ellint specializations.
Also correct infinite recursion in ellint_2.
2022-08-11 12:30:53 +01:00
jzmaddock
d6877737e0 Improve performance of the Complete Elliptic Integrals.
By adding Taylor series approximations.
2022-08-10 19:14:08 +01:00
jzmaddock
773ec298a7 Merge pull request #813 from mborland/issue_800
Fix for issue #800
2022-08-05 09:08:08 +01:00
Matt Borland
53e6658208 Fix for issue #800 2022-08-04 20:17:15 -07:00
jzmaddock
349413a274 Merge pull request #812 from boostorg/issue810
Add #include tests for the hypergeometric functions.
2022-08-04 17:54:12 +01:00
Matt Borland
462497a916 Merge pull request #811 from mborland/issue_810
Fix for issue #810
2022-08-04 11:31:11 -04:00
jzmaddock
45e479deb0 Add #include tests for hypergeometric functions.
Fix the one error detected.
2022-08-04 13:37:20 +01:00
Matt Borland
319817d3ca Fix -Wsign-compare warnings 2022-08-03 20:29:10 -07:00