2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-24 16:12:15 +00:00
Commit Graph

6442 Commits

Author SHA1 Message Date
Matt Borland
e06292f69f Conditionally disable MP testing and move to proper test suite 2023-03-06 10:44:48 -08:00
Matt Borland
0b97dfa8d7 Add macro to limited amount of CI runs 2023-03-06 10:34:56 -08:00
Matt Borland
c5ffe88c2f Conditionally disable MP concept checks 2023-03-06 10:32:11 -08:00
Matt Borland
0b448cfd1e Disable MP tests unless specifically activated 2023-03-06 09:22:38 -08:00
Matt Borland
49df0cc017 Fix -Wmaybe-uninitialized 2023-03-06 08:42:07 -08:00
jzmaddock
bf3bc2e6c2 Fix ibeta_inv for very small p. (#962)
* Fix ibeta_inv for very small p.
Change assert's in temme_method_1_ibeta_inverse to corrections when guess goes out of range.
Change handling of non-convergence in second_order_root_finder to use bracketing when the end points are many orders of magnitude apart.
Fixes: https://github.com/boostorg/math/issues/961.

* Add missing copyright.
[CI SKIP]
2023-03-05 13:18:27 +00:00
Matt Borland
82ccb85907 Merge pull request #960 from mborland/959
Fix for issue #959
2023-03-03 09:08:32 -08:00
Matt Borland
c7e22bf95b Fix formatting 2023-03-02 10:01:01 -08:00
Matt Borland
8b52854cb5 Use control points to determine amount of scratch space needed 2023-03-02 09:47:23 -08:00
Matt Borland
8cfdbb6d2e Update cxxstd field (#958)
[ci skip]
2023-02-27 08:19:41 -08:00
jzmaddock
7203fa2def Fix library version number.
Regenerate docs.
[CI SKIP]
2023-02-23 18:15:50 +00:00
jzmaddock
016da990e2 Update history.
Regenerate docs.
2023-02-23 17:13:51 +00:00
Matt Borland
5576533ae2 Merge pull request #955 from mborland/17916_2
Replace int with long long in nct pdf and cdf
2023-02-23 08:21:54 -08:00
Matt Borland
91e98b89e3 Replace int with long long in nct pdf and cdf 2023-02-21 08:16:31 -08:00
jzmaddock
2b9ab5a05f Lots more missing #includes. 2023-02-20 12:57:19 +00:00
jzmaddock
9c5eac7644 Fix one more missing #include. 2023-02-20 10:00:40 +00:00
jzmaddock
a89cbfec11 Correct header spelling!! 2023-02-19 18:44:01 +00:00
jzmaddock
eb1a778cc6 Trivially add missing #include. 2023-02-19 17:12:59 +00:00
Matt Borland
1c5194f3c3 Merge pull request #954 from boostorg/install
Add cmake install
2023-02-15 16:43:24 -08:00
Matt Borland
0f56b7598d Add cmake install 2023-02-15 10:46:01 -08:00
jzmaddock
9a864d3c52 Merge pull request #951 from boostorg/msvc-debug
Turn debug symbols off for msvc-14.0.
2023-02-14 15:30:12 +00:00
jzmaddock
99819c5812 Turn debug symbols off for msvc-14.0.
We seem to be hitting some random CI limit on one test otherwise.
2023-02-14 12:16:43 +00:00
jzmaddock
79bf64e23f Merge pull request #949 from mborland/15101
Fix for scipy issue 15101
2023-02-13 15:36:56 +00:00
jzmaddock
5b835f4a30 Merge pull request #950 from boostorg/issue947
Fix hypergeometric for use with -fno-exceptions.
2023-02-13 15:34:50 +00:00
jzmaddock
879e26013a Disable legendre_stieltjes.hpp inclusion when exceptions are off. 2023-02-12 18:37:43 +00:00
jzmaddock
d7b68a7fb5 Fix gigenbauer for non-eh environments. 2023-02-12 15:27:56 +00:00
jzmaddock
bf4c7fdd2c Fix hypergeometric for use with -fno-exceptions.
Add test case.
Refs: https://github.com/boostorg/math/pull/947
2023-02-12 12:18:42 +00:00
Matt Borland
a26b1045de Fix expected value's type for MSVC 2023-02-11 09:56:08 -08:00
Matt Borland
1e47518075 Fix for scipy issue 15101 2023-02-11 09:16:32 -08:00
Nick
4aac532a88 Add Estrin's method for polynomial evaluation (#932)
* Add Estrin's method for polynomial evaluation

N.B.: This is a slightly modified version of the code provided by Thomas Dybdahl Ahle in a github issue.

[CI SKIP] [ci skip]

* Add comparisons to Horner with std::array.
[CI SKIP]

* Add Estrin's method for polynomial evaluation

N.B.: This is a slightly modified version of the code provided by Thomas Dybdahl Ahle in a github issue.

[CI SKIP] [ci skip]

* Fix hang in n=0 case.

* Fix out of bounds access in test.

* Fix endsect for estrin.qbk.

* Apply clang-format to make the 'inspect' stage happy.

* Add type_traits header to includes.

* Add ulp plot.

* Document decreased accuracy of Estrin's method.

* Add assertion for size of scratch pad

* Remove std::size since it is C++17

* Add C++14 testing

* estrin -> evaluate_polynomial_estrin.

---------

Co-authored-by: jzmaddock <john@johnmaddock.co.uk>
Co-authored-by: Matt Borland <matt@mattborland.com>
2023-02-04 10:32:06 -08:00
Matt Borland
eaed5834d8 Merge pull request #940 from mborland/Concurrency
Enable GHA to kill in progress builds on new push
2023-02-03 19:37:07 -08:00
Matt Borland
fb85bdb510 Fix for scipy issue 17916 (#939) 2023-02-03 09:10:47 -08:00
Matt Borland
791df66b17 Enable GHA to kill in progress builds on new push 2023-02-03 09:01:17 -08:00
Matt Borland
01630b8b12 Merge pull request #934 from mborland/condition_numbers
Downgrade condition numbers language requirement to C++14
2023-01-31 13:22:35 -08:00
Matt Borland
38f9a5e62c Add /bigobj for MSVC failures 2023-01-31 08:23:00 -08:00
Matt Borland
c5a4755903 Downgrade condition numbers language requirement to C++14 2023-01-30 11:00:11 -08:00
Matt Borland
f0933b401c Ignore warnings in distribution tests suite (#933) 2023-01-30 10:37:33 -08:00
jzmaddock
5e4c121673 Merge pull request #930 from boostorg/constexpr_tables
Fix for Scipy Issue 16079.
2023-01-29 12:20:24 +00:00
jzmaddock
c560d8681e Fix for Scipy Issue 16079.
Big slowdown in evaluation of constexpr tables.
Fixes: https://github.com/boostorg/math/issues/923
2023-01-27 20:26:14 +00:00
Matt Borland
e2c989cd18 Add M1 testing to drone (#868) 2023-01-16 11:13:04 -08:00
jzmaddock
09e1350f6f Update tanh_sinh handling of boundaries. (#894)
* Update tanh_sinh handling of boundaries.
So that we don't accidentality end up at an end point, even when arithmetic is inexact, and the FP type has no denomrms.
Fixes: https://github.com/boostorg/math/issues/893

* Add licence/copyright to new file.

* Remove tabs.
2023-01-15 12:40:34 +00:00
jzmaddock
ced477ce18 Remove most CI and just test arm64/drone. (#916)
* Remove most CI and just test arm64/drone.
!!REVERT THIS COMMIT BEFORE MERGE!!

* Revert "Remove most CI and just test arm64/drone."
Add ARM64 testing.

* Reduce testing load on emulated platforms.
2023-01-14 09:24:46 +00:00
jzmaddock
6bc8326c1b Merge pull request #917 from mborland/deprecate_complex
Add deprecation notice to complex functions
2023-01-12 11:35:22 +00:00
Drew Risinger
1bff5bf21d libraries.json: fix typo (#918) 2023-01-11 15:57:05 -08:00
Matt Borland
80ff4aa612 Add deprecation notice to complex functions 2023-01-11 10:54:33 -08:00
jzmaddock
fae96bf542 S390x testing: make all the tests 128-bit float safe.
* Remove tests we don't need right now.
!!!REVERT THIS COMMIT BEFORE MERGING!!!

* Add s390x testing to drone.

* Correct drone file.

* Correct drone file (again)

* Prevent complete cancellation in bessel_jy logic.

* Correct testing for 128-bit floats.

* Make some more tests 128-bit long double safe.

* Make more tests 128-bit float safe.

* Fix some more 128-bit testing issues.

* More 128-bit float fixes.

* Make more tests 128-bit float safe.

* Fix up remaining tests for 128-bit floats.

* Yet more 128-bit float test case fixes.

* Fix up more tests for 128-bit floats and non-intel platforms.

* Fix up more tests to be 128-bit long double safe.

* More test case adjustments.

* More 128-bit float error rate adjustments.

* Fixes for autodiff tests

* Two more test fixes.

* Fix up daubechies_scaling_test.cpp and reinstate full CI.

Co-authored-by: Matt Borland <matt@mattborland.com>
2023-01-11 18:31:05 +00:00
Matt Borland
aaa8684f09 Merge pull request #912 from mborland/ccmath
Improve NAN handling in ccmath
2023-01-09 07:12:25 -08:00
Matt Borland
8c26796f71 Fix inf handling and simplify type promotion 2023-01-08 15:00:44 -08:00
Matt Borland
44a7828834 Fix logb inf handling 2023-01-07 10:07:54 -08:00
Matt Borland
11443ceefa Fix -inf handling for sqrt 2023-01-07 09:50:15 -08:00