2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-28 19:32:08 +00:00
Commit Graph

6645 Commits

Author SHA1 Message Date
Matt Borland
c4e15ddda0 Fix index for MSVC 14.0 2023-12-22 06:06:57 -05:00
Matt Borland
8d575067e9 Rename bessel components 2023-12-22 05:17:55 -05:00
Matt Borland
a8ee8eb5d8 Protect dependencies with macros 2023-12-22 05:15:38 -05:00
Matt Borland
de67ad3207 Rename our components 2023-12-22 05:09:32 -05:00
Matt Borland
bd49c8311a Improve logic and shield other boost libraries in non-standalone mode 2023-12-21 08:33:23 -05:00
Matt Borland
e24e884562 Undef I after pushing onto the stack 2023-12-21 07:48:13 -05:00
Matt Borland
23d54b385b Fix for msvc defining _Complex_I in complex.h 2023-12-21 07:20:24 -05:00
Matt Borland
438ee69ff0 Merge pull request #1059 from boostorg/no_boost_array 2023-12-20 05:48:42 +01:00
Nick Thompson
185bb52813 Remove last usage of boost::array
Now that boost.math is C++14, remove boost::array in order to improve orthogonality of the library.
2023-12-19 17:16:39 -08:00
Matt Borland
0238802ecc Merge pull request #1057 from boostorg/libstdc++14
Fix cstdfloat numeric limits detection macro for libstdc++14
2023-12-13 11:15:24 +01:00
Matt Borland
b3a21bcbcb Fix cstdfloat numeric limits detection macro for libstdc++14 2023-12-13 08:43:43 +01:00
Nick
e0c17f6856 Improve accuracy of quartic_roots (#1056) 2023-11-27 17:52:56 +01:00
Matt Borland
f7f96150df Update version history (#1053) 2023-11-18 15:28:38 +01:00
Matt Borland
2dd018b8c7 Revert "Update version history."
This reverts commit d938d3e836.
2023-11-18 08:30:17 +01:00
jzmaddock
d938d3e836 Update version history.
[CI SKIP]
2023-11-17 18:25:02 +00:00
Matt Borland
0c5b957300 Merge pull request #1051 from boostorg/1048
Fix for issue 1048
2023-11-17 10:59:10 +01:00
Matt Borland
6c5fd09a40 Fix ADL failures for __float128 2023-11-17 08:20:05 +01:00
Matt Borland
26d8675a48 Merge pull request #1050 from boostorg/ncf_sf
Fix for issue 1049
2023-11-17 08:14:42 +01:00
Matt Borland
2cb550d65e Replace C style asserts with BOOST_MATH_ASSERT 2023-11-16 11:39:53 +01:00
Matt Borland
6aaba2e5a3 Add 1 / eps test case to be sure 2023-11-16 11:28:39 +01:00
Matt Borland
fe377373e4 Use identity function in floor if val >= 1/epsilon 2023-11-16 11:26:41 +01:00
Matt Borland
8da51f2bde Add test values from issue 2023-11-16 11:26:15 +01:00
Matt Borland
d18964d5aa Check update of xterm for denom of 0 2023-11-16 09:38:11 +01:00
Matt Borland
de64f02ad3 Add test case 2023-11-16 09:38:01 +01:00
jzmaddock
8c72a85ec6 Merge pull request #1046 from boostorg/ccmath_support_detection
Improve ccmath support detection.
2023-11-07 08:53:47 +00:00
jzmaddock
407a2eb8ed Correct depint.py includes. 2023-11-06 18:40:06 +00:00
jzmaddock
c33ea10655 Update depinst.py usage to scan more directories. 2023-11-06 18:27:35 +00:00
jzmaddock
90c509398b Improve error detection further. 2023-11-06 09:40:26 +00:00
jzmaddock
d7048ecfa7 Improve ccmath support detection.
See discussion in https://github.com/boostorg/math/pull/1045.
2023-11-05 19:32:33 +00:00
jzmaddock
11e2348372 Merge pull request #1045 from boostorg/ccmath_config
Update/improve ccmath configuration.
2023-11-05 11:30:50 +00:00
jzmaddock
21230d698e Correct header include order for standalone mode. 2023-11-03 18:46:23 +00:00
jzmaddock
6d6b0a8c82 Correct new headers include guards. 2023-11-03 18:37:33 +00:00
jzmaddock
7f39320b8d Update/improve ccmath configuration. 2023-11-03 18:32:21 +00:00
Matt Borland
8435aefd40 Merge pull request #1044 from boostorg/next
Fix detection of ccmath usage in trunc
2023-11-03 11:32:21 +01:00
Matt Borland
d298a15b1d Reorder macro and add missing include 2023-11-03 08:27:30 +01:00
Matt Borland
bfa206d12c Losen tolerance on cohen acceleration 2023-11-03 08:18:03 +01:00
jzmaddock
36a3dbd01f Merge pull request #1043 from boostorg/log1p_mp_fix
Qualify log1p calls.
2023-11-02 17:55:22 +00:00
jzmaddock
ae6571af58 Qualify log1p calls.
This fixes ambiguous overloads in the multiprecision case between boost::multiprecision and boost::math versions of log1p.
See https://github.com/boostorg/multiprecision/pull/568#issuecomment-1790195318
2023-11-02 12:14:06 +00:00
Matt Borland
7bc2da4a48 Fix clang-14 run in CI (#1041) 2023-10-31 11:33:36 +01:00
ryanelandt
2c74b149b0 has_denorm_now (#1029)
* initial commit

* remove == std::denorm_present

* remove extra ) in ccmath/next
2023-10-30 09:37:29 +01:00
jzmaddock
14f4e3a21f Merge pull request #1039 from boostorg/cast_cleanup
Incorporate cast simplifications from PR880
2023-10-18 13:15:55 +01:00
jzmaddock
7571fc6814 Fix up PP logic for there being no __float128. 2023-10-18 09:42:09 +01:00
jzmaddock
c6f4a88809 Incorporate cast simplifications from https://github.com/boostorg/math/pull/880
Add tests and make sure everything is covered, and fix resulting errors.
2023-10-17 17:09:44 +01:00
jzmaddock
e3e79b51c2 Merge pull request #1033 from AtariDreams/constexpr
ten should be a constexpr as a float
2023-10-16 11:59:48 +01:00
Rose
0e3b29f389 ten should be a constexpr as a float
Its int counterpart is a constexpr, and the ten variable never changes, so for consistency, we should make float_type ten constexpr as welll.
2023-10-15 18:54:03 -04:00
jzmaddock
30bb70352b Merge pull request #1038 from boostorg/issue1035
Correct non-central-t series convergence bug.
2023-10-14 09:26:12 +01:00
jzmaddock
eaf876c81e Correct non-central-t series convergence bug.
Fixes https://github.com/boostorg/math/issues/1035.
See also https://github.com/scipy/scipy/issues/19348.
Accuracy in left tail is still poor, and the reflection formula appears to be to blame as it's use causes the series to cancel out the first term, but it appears we have no real choice in the matter here.  At least we do now get a few digits correct.
2023-10-13 18:45:03 +01:00
jzmaddock
10857c0207 Merge pull request #1036 from boostorg/issue1034
Adjust recursion when using the Bessel function approximation with la…
2023-10-13 10:34:19 +01:00
jzmaddock
57b09f4919 More test cases and corrections. 2023-10-12 17:06:37 +01:00
jzmaddock
2dbd7698cc Adjust recursion when using the Bessel function approximation with large z.
Avoids hitting tgamma on a negative integer, also improves accuracy when b-a-0.5 is close to a negative integer.
Fixes https://github.com/boostorg/math/issues/1034.
2023-10-11 11:45:33 +01:00