2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-26 04:42:22 +00:00
Commit Graph

3839 Commits

Author SHA1 Message Date
Antony Polukhin
a3c2c0d0b2 Modernize exception specification (#822)
Replace `throw()` with `BOOST_NOEXCEPT_OR_NOTHROW`
2022-09-27 11:07:58 -07:00
Hans Dembinski
5f704c76a5 remove extra semicolon, fixes 2022-09-18 10:23:46 +02: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
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
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
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
Matt Borland
53e6658208 Fix for issue #800 2022-08-04 20:17:15 -07: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
Matt Borland
6a64075999 Fix for zero as null pointer constant warning 2022-08-03 19:29:01 -07:00
Matt Borland
fae5c5cd12 Add missing headers and test for git issue 2022-08-03 19:28:35 -07:00
jzmaddock
b33e40eb4b Add BOOST_NOINLINE to standalone config and apply to erf_inv_initializer.
Replaces: https://github.com/boostorg/math/pull/807.
2022-07-27 11:20:51 +01:00
mckib2
b0096e649f Avoid overflow in intermediate bessel_ik computation 2022-07-18 19:05:44 -07:00
jzmaddock
08f30fb8d7 Stop taking the logarithm of zero in ibeta_power_terms. 2022-07-15 19:35:34 +01:00
jzmaddock
6efed67e21 Make sure ibeta_derivative triggers an underflow error when required.
See https://github.com/boostorg/math/issues/799.
2022-07-15 19:16:17 +01:00
jzmaddock
ff0279cd21 Merge pull request #798 from mborland/nullptr
Fixes for -Wzero-as-null-pointer-constant
2022-07-11 18:14:20 +01:00
Matt Borland
82b188f96d Replace 0 in pointer default arguments with nullptr 2022-07-10 18:22:17 -07:00
Matt Borland
f7f3b8e015 Replace casting of 0 to pointer type with nullptr 2022-07-10 18:05:13 -07:00
Matt Borland
7caa9101b0 Replace 0 with nullptr in pole error 2022-07-10 17:51:28 -07:00
Matt Borland
52d5c0db7d Explicit casting of double 2022-07-10 17:37:15 -07:00
Matt Borland
d918340a25 Replace 0 with nullptr in special_fun 2022-07-10 16:26:13 -07:00
Matt Borland
3ce17c2e2b Replace 0 with nullptr for raise_under/overflow error 2022-07-10 13:56:13 -07:00
Samuel Rowlinson
4809e714d4 Fixing right endpoint deriv bug in cubic b spline 2022-07-10 15:25:34 +01:00
Matt Borland
97a92c0f50 Replace c-style casts for double 2022-07-05 19:59:53 -07:00
Matt Borland
f915cfc0d8 Replace c-style casts for int 2022-07-05 19:59:45 -07:00
Matt Borland
eb9baf6808 Fix variable shadowing in chebyshev 2022-07-05 19:59:38 -07:00
Matt Borland
78d691ee2d Fix unreachable code in bernoulli 2022-07-05 19:59:28 -07:00
Matt Borland
1a0c3c8763 explicit casting from floating point to integer 2022-07-05 19:59:16 -07:00
Matt Borland
69557c0d1a Explicit conversions from floating point type to size_t 2022-07-05 19:59:11 -07:00
Matt Borland
77f7851c12 Add explicit type conversions for unsigned to signed types 2022-07-05 19:59:06 -07:00
Matt Borland
28ff5ed847 Add explicit casting for int to floating point types 2022-07-05 19:58:58 -07:00
Matt Borland
69e6643cbd Fix unreachable code 2022-07-05 19:58:51 -07:00
Matt Borland
d2a42e9501 Change implicit type conversion to explicit 2022-07-05 19:58:41 -07:00
Matt Borland
ae70e1f22d Merge pull request #794 from mborland/unsafe_bool
Fix unsafe bool usage
2022-07-03 15:44:19 -07:00
Matt Borland
d11c836abd Fix deprecated implicit copy constructor for octonion 2022-07-02 19:40:12 -07:00
Matt Borland
0b57cd2cd7 Suppress TR1 unused variable warnings 2022-07-02 19:23:55 -07:00
Matt Borland
01d77f55e7 Fix uninitialized const reference warning 2022-07-02 19:10:05 -07:00
Matt Borland
0ed3134719 Fix deprecated implicit copy constructor in airy ai bi zero 2022-07-02 18:48:15 -07:00
Matt Borland
06ce1cd511 Fix deprecated implicit copy constructor in bessel jy zero 2022-07-02 18:30:01 -07:00
Matt Borland
99adf50919 Fix C++14 extension warning in traits 2022-07-02 18:24:49 -07:00