Matt Borland
a6bc6c7c80
Add <stdfloat> constructor to real_concept
2023-06-05 14:21:53 +02:00
Matt Borland
b66264fa90
Collected special functions warning fixes
...
[ci skip]
2023-05-31 14:34:10 +02:00
Matt Borland
7a66a98f88
Fix for autodiff 3
2023-05-31 09:32:56 +02:00
Matt Borland
ae56ab203f
Fix conversion errors in digamma
2023-05-31 09:24:03 +02:00
Matt Borland
6d37555ccc
Collected autodiff fixes
2023-05-30 17:25:48 +02:00
Matt Borland
c249bfebce
Fix -Wreturn-type
2023-05-30 17:25:29 +02:00
Matt Borland
823fcd4cf2
Add test and cast to finite differences
2023-05-30 16:46:23 +02:00
Matt Borland
94c68f82f0
Change types in hypergeometric cdf and pdf impls
2023-05-24 09:40:22 +02:00
Matt Borland
54b172236d
Fix stack overflow
2023-05-23 12:00:49 +02:00
Matt Borland
f968bec20f
Replace 32 bit unsigned with 64 bits
2023-05-23 10:52:50 +02:00
Matt Borland
faaf4759ac
Fix stack overflow in cohen acceleration from GCC bug
2023-05-22 13:48:33 +02:00
Matt Borland
ca31dcfe93
Add AGM test
2023-05-22 13:43:32 +02:00
Matt Borland
aef57135b3
Add rsqrt test and update type traits for control path
2023-05-22 13:08:10 +02:00
Matt Borland
51d7011f25
Fix formatting and missing header
2023-05-22 11:42:39 +02:00
jzmaddock
41be4fb71d
Improve to/from_chars configuration.
2023-05-21 16:12:58 +01:00
Matt Borland
00facdc1a9
Fix cardinal cubic b spline for std::float32_t
2023-05-17 18:10:49 +02:00
Matt Borland
55eaf05b41
Add additional conversion function for C++23 types
2023-05-16 16:02:14 +02:00
Matt Borland
edf6597b5b
inline template specialization
2023-05-16 16:01:48 +02:00
Matt Borland
a0360d8f6d
Use charconv in convert_from_string for arithmetic types
2023-05-16 15:40:01 +02:00
Matt Borland
0c1920b7fb
Move macro definitions to config
2023-05-16 15:39:42 +02:00
Matt Borland
5045047bcd
Use charconv instead of streaming operator for std::float128_t
2023-05-16 15:02:31 +02:00
jzmaddock
843363650f
Fix remaining warnings from float32.cpp.
2023-05-16 13:14:08 +01:00
Matt Borland
d217813b03
Fix stack overflow on test_finite_singular_boundary with _Float64
2023-05-16 11:49:30 +02:00
jzmaddock
c5b4d28e05
Suppress lots of warnings for std::float32_t.
...
Better configure promote_args test case.
2023-05-15 17:08:41 +01:00
jzmaddock
b3f361c123
Fix the promote_args<float32_t, float32_t> case.
...
Also fixes a lot of warnings.
[CI SKIP]
2023-05-14 12:23:06 +01:00
jzmaddock
ac4605b12d
Fix Minw-64 C++23 compile failures.
2023-05-13 19:13:11 +01:00
Matt Borland
5d044d52f5
Remove cast for output iterator
2023-05-09 13:43:55 +02:00
Nick
b998b1c292
Minor PCHIP cleanup ( #984 )
...
The comment that the finite difference approximation to the derivative
was the only way to produce monotonicity was wrong.
In addition, the error message gave no hint as to its origin. Fix this.
2023-05-08 12:34:38 +02:00
jzmaddock
d5960de3db
Fix case where b is a negative integer and z is also negative. ( #983 )
...
* Fix case where b is a negative integer and z is also negative.
Add tests etc.
Fixes: https://github.com/boostorg/math/issues/982 .
2023-05-04 09:17:16 +01:00
Matt Borland
be37704674
Explicit casting of promoted types
2023-05-02 13:50:31 +02:00
Matt Borland
2b1d5b613a
Cast assignment of promoted type
2023-05-02 13:17:56 +02:00
Matt Borland
4c753c20f7
Reverse 128bits and prefer F64 over long double when it's 64bits
2023-04-25 12:06:16 +02:00
Matt Borland
5dcf5a9fdb
Test beta dist for F64, F32, and F16
2023-04-24 14:53:05 +02:00
Matt Borland
7a6efabba5
First draft of promotion
2023-04-24 14:25:13 +02:00
Matt Borland
298a243ccd
Fix for scipy issue 18302 ( #977 )
2023-04-21 12:31:23 +02:00
Madiyar
109a814e89
Fix fisher_f mode ( #976 )
...
* Fix fisher_f mode
The mode for F-distribution is defined when `df1 > 2` according to https://en.wikipedia.org/wiki/F-distribution . It is also reasonable since `df2 * (df1 - 2) / (df1 * (df2 + 2))` becomes zero or negative when `df1 <= 2`
Co-authored-by: Matt Borland <matt@mattborland.com >
2023-04-14 12:30:53 +02:00
Matt Borland
93448acea7
Merge pull request #946 from mborland/logcdf
...
Add logcdf to distributions
2023-04-13 14:10:35 +02:00
Matt Borland
3a81f17b14
Replace language version check with feature check
2023-04-05 14:15:59 +02:00
Matt Borland
2c141fe268
Disable __float128
2023-04-03 17:43:50 +02:00
Matt Borland
03f4498b16
Change handling for non-literal types
2023-04-03 17:04:06 +02:00
Matt Borland
93b31d1e19
Use boost::math fpclassify functions
2023-04-03 15:40:28 +02:00
Matt Borland
c597cb1112
Fix ccmath fpclassify for poison
2023-04-03 15:03:11 +02:00
Matt Borland
e5b4f3f0c3
Improve trunc handling
2023-04-03 14:50:22 +02:00
Matt Borland
1de39c69ef
Add coverage for lround and iround
2023-04-03 14:06:29 +02:00
Matt Borland
3200ce108d
Change comparison to max
2023-03-21 08:11:00 -07:00
Matt Borland
6989ad19ff
Don't use constexpr calculation with concept tests
2023-03-20 17:50:04 -07:00
Matt Borland
b1a95fa2c1
Add BOOST_PREVENT_MACRO_SUBSTITUTION
2023-03-20 17:03:47 -07:00
Matt Borland
5a50ec7868
Simplify and constexperize
2023-03-20 15:22:44 -07:00
Matt Borland
5284fb7fa8
Explicitly cast the result
2023-03-16 21:49:43 -07:00
Matt Borland
b8fb413405
Compensate for signedness
2023-03-16 21:23:52 -07:00