jzmaddock
54b057bb51
Modernise log1p/expm1 to mostly use their std:: equivalents.
...
Add support for <cstdfloat> types as well.
Extend tests for better coverage.
2025-04-19 13:35:23 +01:00
jzmaddock
b0200e41d1
Correct macro name for standalone.
2025-04-18 21:02:52 +01:00
jzmaddock
00870090bd
Correct macro name for standalone usage.
2025-04-18 19:59:23 +01:00
jzmaddock
8107e55faf
Merge branch 'develop' into improve_coverage_3
...
Fixed Conflicts:
include/boost/math/special_functions/detail/bessel_ik.hpp
include/boost/math/special_functions/detail/bessel_j1.hpp
include/boost/math/special_functions/detail/bessel_k0.hpp
include/boost/math/special_functions/detail/bessel_k1.hpp
include/boost/math/special_functions/detail/igamma_large.hpp
include/boost/math/special_functions/detail/lgamma_small.hpp
include/boost/math/special_functions/expint.hpp
include/boost/math/special_functions/expm1.hpp
include/boost/math/special_functions/gamma.hpp
include/boost/math/special_functions/log1p.hpp
include/boost/math/special_functions/trigamma.hpp
test/Jamfile.v2
test/test_expint.cpp
2025-04-18 19:45:05 +01:00
jzmaddock
01dbedcb0a
Merge pull request #1260 from boostorg/issue1247
...
Prevent spurious numeric underflow in ibeta_series.
2025-04-18 11:26:51 +01:00
jzmaddock
7a41ad8f1f
Merge pull request #1181 from fsb4000/fix_warnings
...
Fix warning C4701: "potentially uninitialized local variable used"
2025-04-18 09:49:51 +01:00
jzmaddock
f0ef1fd39e
Add missing file!
2025-04-17 20:01:38 +01:00
jzmaddock
54a558451a
Prevent spurious numeric underflow in ibeta_series.
...
Fixes #1247 .
2025-04-17 19:51:24 +01:00
jzmaddock
1290be687d
Merge pull request #1259 from boostorg/scipy21725
...
Fix for inverse ibeta with large a,b.
2025-04-17 13:42:06 +01:00
jzmaddock
deb439132f
Update MacOS error rate for new test.
...
Add better calculation for y.
2025-04-17 11:17:28 +01:00
jzmaddock
8c7ff156e4
Readjust heuristics.
2025-04-16 19:20:27 +01:00
jzmaddock
e19554c55d
Fix for inverse ibeta with large a,b.
...
In this case Temme's method may fail as the incomplete gamma can't cope, but as the function changes over from 0 to 1 very rapidly, we can just use the saddle point as a reasonable starting location for iteration.
See https://github.com/scipy/scipy/issues/21725 .
2025-04-16 17:57:20 +01:00
jzmaddock
a2fbc935b9
Merge pull request #1258 from boostorg/issue1252
...
Make variadic functions C++26 safe.
2025-04-14 16:00:59 +01:00
jzmaddock
a0fd863c1f
Make variadic functions C++26 safe.
2025-04-14 12:32:45 +01:00
jzmaddock
ddd803296f
Merge pull request #1257 from boostorg/issue1198
...
Collected fixes for incomplete beta in the asymptotic large a/b region
2025-04-14 12:17:54 +01:00
jzmaddock
e8c86a8f12
Restrict the most extreme tests to types that are evaluated at 80-bit precision or less.
2025-04-14 09:39:57 +01:00
jzmaddock
0093714533
Correct MacOS expected failure rates order.
2025-04-13 12:20:35 +01:00
jzmaddock
82d0b62adc
Tweak MacOS error rates.
2025-04-13 11:43:53 +01:00
jzmaddock
38833a0804
Add copyright/licence.
2025-04-13 11:43:33 +01:00
jzmaddock
a84766d160
Use correct namespace!
2025-04-13 11:43:09 +01:00
jzmaddock
c9c27c5e13
Correct changed Bessel logic.
2025-04-13 10:12:15 +01:00
Christopher Kormanyos
6ba549ba5b
Merge pull request #1256 from boostorg/issue1255
...
Fix #1255 via handle `cyl_bessel_y` small-arg and update docs
2025-04-12 19:09:01 +02:00
ckormanyos
76dede030e
Merge branch 'develop' into issue1255
2025-04-12 16:58:58 +02:00
John Maddock
b98153a5a2
Merge branch 'develop' into issue1198
2025-04-12 15:35:39 +01:00
jzmaddock
e8181069f8
Merge pull request #1254 from boostorg/ci_dep
...
Replace deprecated runners in CI
2025-04-12 15:34:10 +01:00
ckormanyos
ad2111fccd
Merge branch 'ci_dep' into issue1255
2025-04-12 15:07:33 +02:00
jzmaddock
5a41763ea7
Correct #include.
2025-04-12 12:39:46 +01:00
jzmaddock
ed88f0ad09
Remove unneeded dependencies from Jamfile all together.
2025-04-12 12:39:27 +01:00
jzmaddock
8e5df72a92
Add workaround for std::float64_t in large constants.
2025-04-12 12:38:54 +01:00
jzmaddock
de452a3fad
Correct compiler versions in CI.
2025-04-12 12:38:21 +01:00
ckormanyos
30be128a84
Repair test 1255 and adapt to double
2025-04-12 11:15:13 +02:00
jzmaddock
f795270b0d
Tentative build failure fix.
2025-04-11 20:08:59 +01:00
jzmaddock
14b2059b35
Correct beta call so it's not ambiguous.
2025-04-11 18:01:32 +01:00
Matt Borland
b9aa78f889
Increment library version
2025-04-11 08:04:39 -04:00
ckormanyos
d07b79d377
Handle issue 1255 and update docs
2025-04-11 12:49:36 +02:00
jzmaddock
20b5692940
Use the correct comparison in bessel_ik.hpp.
2025-04-10 18:54:17 +01:00
jzmaddock
dd59c01ac8
Fixes for #1198 .
...
Use asymptotic expansion for very large a,b and add test cases.
Add some corrections to improve numeric stability.
Add better error handling of cases that explode so we get evaluation_error's.
2025-04-10 18:52:35 +01:00
Matt Borland
999bf47433
Replace deprecated runners in CI
2025-04-08 13:51:48 -04:00
jzmaddock
4d58e93b5d
Fix first test case from https://github.com/boostorg/math/issues/1198 and add test case.
2025-03-28 18:19:42 +00:00
Matt Borland
a5c062542a
Merge pull request #1239 from WarrenWeckesser/misc-corrections
2025-01-27 09:26:54 -05:00
Warren Weckesser
2fda707186
MAINT: Remove an obsolete comment in skew_normal.hpp.
2025-01-24 21:18:22 -05:00
Warren Weckesser
dd02f2278a
DOC: Fix a typo in the example test driver program in special_tut.qbk.
2025-01-24 21:16:32 -05:00
Warren Weckesser
242d36c3c5
MAINT: Remove a comment about the number of distributions.
...
Apparently this comment is not being maintained.
2025-01-24 21:16:32 -05:00
Warren Weckesser
814632540b
MAINT: Fix a repeated typo in a comment in several test files.
2025-01-24 21:15:54 -05:00
Matt Borland
7e5e9205a8
Merge pull request #1238 from pps83/develop-warnfix
...
Fix check for clang warning -Wnan-infinity-disabled
2025-01-23 14:01:26 -05:00
Matt Borland
61b87dff32
Merge pull request #1237 from WarrenWeckesser/doc-cauchy-cdf
...
DOC: Update description of the Cauchy cdf and its complement.
2025-01-23 14:00:28 -05:00
Pavel P
dfa0bd6ee6
Fix check for clang warning -Wnan-infinity-disabled
2025-01-23 17:55:02 +02:00
Warren Weckesser
742b5cccdd
DOC: Update description of the Cauchy cdf and its complement.
...
Also add a missing closing parenthesis in the pdf expression.
2025-01-22 15:11:29 -05:00
Alejandro Baranek
2f3c7985f7
Update gamma.hpp ( #1236 )
...
* Update gamma.hpp
Missing name for Lanczos parameter in gamma_imp_final
* Update gamma.hpp
* Change location of void and annotate
---------
Co-authored-by: Matt Borland <matt@mattborland.com >
2025-01-21 16:15:52 -05:00
Matt Borland
024a4fed70
Merge pull request #1234 from WarrenWeckesser/simplify-cauchy-cdf
...
Simplify the formula for the CDF of the Cauchy distribution.
2025-01-17 08:12:47 -05:00