2736 Commits

Author SHA1 Message Date
ckormanyos
e92330ad5d Handle various conversion warnings 2025-04-27 08:55:49 +02:00
jzmaddock
3e3ac037c7 Correct __arch64__ error config for 1F1. 2025-04-25 19:33:58 +01:00
jzmaddock
33f80d9127 Coverage: Correct expected error rates on arm and s390,
Correct float128 log1p dispatch call.
2025-04-25 19:00:49 +01:00
jzmaddock
07c5282d90 Coverage: correct exception throwing tests for sycl run. 2025-04-23 10:19:38 +01:00
jzmaddock
9fc0965d57 Disable slow to compile test. 2025-04-22 16:02:34 +01:00
jzmaddock
4a3d3bc66e Coverage: Improve gamma.hpp. 2025-04-22 10:13:08 +01:00
jzmaddock
0e7b0f3b4c Correct ellint_d test configuration. 2025-04-21 15:26:01 +01:00
jzmaddock
760fca3743 Remove MP test case: our test data isn't precise enough.
Disable MP expm1 from coverage check.
2025-04-21 12:14:39 +01:00
jzmaddock
c0af3630d1 Add true multiprecision test case to log1p/expm1. 2025-04-21 09:59:07 +01:00
jzmaddock
56f56115f9 Remove duplicated error handling from ellint_rj. 2025-04-21 09:41:53 +01:00
jzmaddock
6113e186e2 Correct ellint_d testing logic. 2025-04-21 09:30:22 +01:00
jzmaddock
31a913cb24 Error rates again. 2025-04-20 12:05:45 +01:00
jzmaddock
7914a759c0 One more error rate adjustment (ibeta_derivative for Mingw). 2025-04-20 11:04:45 +01:00
jzmaddock
fff9f07840 Adjust error rate on bessel_i_prime as a result of expm1 changes on msvc.
Fix mingw linker error.
2025-04-20 09:22:01 +01:00
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
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
deb439132f Update MacOS error rate for new test.
Add better calculation for y.
2025-04-17 11:17:28 +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
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
John Maddock
b98153a5a2 Merge branch 'develop' into issue1198 2025-04-12 15:35:39 +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
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
ckormanyos
d07b79d377 Handle issue 1255 and update docs 2025-04-11 12:49:36 +02: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
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
Warren Weckesser
814632540b MAINT: Fix a repeated typo in a comment in several test files. 2025-01-24 21:15:54 -05:00
Warren Weckesser
7d6f32045a Simplify the formula for the CDF of the Cauchy distribution.
The Cauchy CDF function may be expressed as atan2(1, -x)/pi.
2025-01-16 23:07:27 -05:00
Youssef LAKHAL
adaf1bfd06 Fix constexpr cmath floor of 1 returning 0 #1232 2025-01-12 15:54:47 +01:00
ckormanyos
e24754779e Repair typo in cyl_bessel_k_prime test 2024-12-23 19:15:13 +01:00
ckormanyos
55a2181e8b Modify extreme test case from #1228 2024-12-23 18:51:41 +01:00
ckormanyos
2a7bef3410 Query cyl_bessel_k for cpp_double_double 2024-12-22 14:43:19 +01:00
ckormanyos
bf7fb3782b Remove wrong constexpr and revert bessel_j change 2024-12-19 19:41:36 +01:00
ckormanyos
214e19cc51 Apply cyl_bessel_k0 logic change 113 bits 2024-12-19 18:33:28 +01:00
ckormanyos
03085568a9 Increase tols for some updated MSVC runners 2024-12-19 15:38:12 +01:00
ckormanyos
dbc9e72b70 Repair typo on double min_exponent10 2024-12-19 13:25:47 +01:00
ckormanyos
464922e136 Attempt to restore 3 missing cover lines 2024-12-19 13:13:30 +01:00
ckormanyos
8a45d187c7 Try repairing table syntax errors 2024-12-19 10:16:30 +01:00
ckormanyos
a9bc5d65c7 First batch changes double-fp-backend 2024-12-19 09:29:03 +01:00
Matt Borland
e690b00296
Fix compile test CML and add CMake testing (#1213)
* Add boost standard CMake Testing

* Add include private

* Change CI command

* Use boost test and change target
2024-10-17 13:39:33 -04:00