2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

627 Commits

Author SHA1 Message Date
mzhelyez
9224e97eeb should fix c++23 types 2025-09-17 19:59:47 +02:00
mzhelyez
f4ef5c6a5d updated compile tests 2025-09-13 15:02:54 +02:00
mzhelyez
66175e3d42 hopefully fix mscvc tests [windows] 2025-09-09 21:09:07 +02:00
mzhelyez
36d7f220a4 removed quote in Jamfile 2025-09-09 19:37:58 +02:00
mzhelyez
9a5158c23d added licence, hopefully fixed the jamfile, modified docs, fixed airy prime 2025-09-09 19:34:45 +02:00
mzhelyez
ec3fd50e62 another jamfile fix 2025-09-08 17:56:22 +02:00
mzhelyez
8a1b04f098 jamfiole fixes 2025-09-08 17:50:55 +02:00
mzhelyez
26f4e2b094 autogenerated compile tests and added table to docs 2025-09-08 17:45:39 +02:00
Maksym Zhelyeznyakov
0b319a3cfe Merge branch 'boostorg:develop' into develop 2025-08-16 15:00:26 +02:00
mzhelyez
0f26461e59 fixed failining tests and added test support to jamfile 2025-08-16 14:51:00 +02:00
Matt Borland
ce144e22fd Add logit test set 2025-08-12 12:49:22 +02:00
Matt Borland
2e66849703 Rename 2025-08-12 11:32:22 +02:00
Matt Borland
3ffbcfea31 Add logistic function testing 2025-08-12 10:55:01 +02:00
Maksym Zhelyeznyakov
83e9b334b9 resolve merge conflics 2025-08-06 14:23:20 +02:00
mzhelyez
e6af424bd8 working rvar 2025-07-15 07:30:57 +02:00
Matt Borland
d5f6aa10f9 Require compilers to have support for C++14 type traits 2025-06-16 13:05:07 -04:00
Matt Borland
eb2930d8cc Add cxx14_constexpr requirement 2025-06-16 11:20:26 -04:00
jzmaddock
5b15651edf Disable new test when run under the clang sanitizers.
-fsanitize=integer trips up multiprecision code which has deliberate (and well defined) unsigned integer overflow via left shift.
2025-05-23 16:36:10 +01:00
John Maddock
036cf85c12 Merge branch 'mydevelop' of https://github.com/cohomology/math into integrate_1251 2025-05-23 16:27:12 +01:00
jzmaddock
c159459504 Coverage: Add trivial tests for ulp.hpp. 2025-05-11 10:39:13 +01:00
jzmaddock
ef4cdb9b91 Coverage: Add coverage for prime.hpp. 2025-05-08 16:42:08 +01:00
jzmaddock
404fccdd16 Coverage: Fix up nonfinite_num_facets.hpp
Add more tests, and enable one test that was not even being built.
2025-05-07 16:36:19 +01:00
jzmaddock
01e1a62e0b Coverage: Fix Jamfile. 2025-05-07 08:50:25 +01:00
jzmaddock
1ec15ddad5 Coverage: Improve next.hpp. 2025-05-06 17:16:32 +01:00
jzmaddock
7556310aae Coverage: Cosmetic changes to log1p plus more tests.
Also hook test_log1p_simple.cpp up to Jamfile.v2 as it had been omitted for some reason.
2025-05-04 16:12:13 +01:00
jzmaddock
dbd2028123 Coverage: Add better Lanczos testing. 2025-05-02 19:44:09 +01:00
jzmaddock
5daedec323 Coverage: many tests were not being run due to (accidental) dependency.
Remove dependency on 128 bit std/boost::floatmax_t except where really needed.
2025-05-01 11:35:16 +01:00
jzmaddock
e4944107e2 Coverage: Make sure lambert_w_derivative tests are actually run! 2025-04-30 11:35:40 +01:00
Kilian Kilger
5a30520951 Merge remote-tracking branch 'origin' into mydevelop 2025-04-28 14:40:02 +02:00
jzmaddock
50def60663 Coverage: enable accidentality disabled 2F0 tests. 2025-04-28 12:26:53 +01:00
jzmaddock
4a3d3bc66e Coverage: Improve gamma.hpp. 2025-04-22 10:13:08 +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
Kilian Kilger
517212e225 Merge branch 'develop' into mydevelop 2025-04-18 12:07:09 +02:00
jzmaddock
54a558451a Prevent spurious numeric underflow in ibeta_series.
Fixes #1247.
2025-04-17 19:51:24 +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
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
ed88f0ad09 Remove unneeded dependencies from Jamfile all together. 2025-04-12 12:39:27 +01: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
Kilian Kilger
7503be4cfa Fix lower incomplete gamma functions with x = 0
In this case, the errno error handling did not work correctly,
as internal functions where accidently setting it, although no
overflow happens.

Fixes #1249.
2025-04-02 11:17:45 +02:00
Matt Borland
d2fe8e388d Add test set 2024-09-09 10:03:03 -04:00
jzmaddock
cb06899356 Catch evaluation_error's in temme_method_2_ibeta_inverse (#1175)
Catch evaluation_error's in temme_method_2_ibeta_inverse
fixes https://github.com/boostorg/math/issues/1169.
Add test case.
2024-09-07 17:36:39 +01:00
René Ferdinand Rivera Morell
41f07b0794 Add support for modular build structure. (#1160)
* Make the library modular usable.

* Fix -Wundef warnings

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add missing NO_LIB usage requirements.

* Remove boost-root relative include path.

* Add missing import-search for cconfig/predef checks.

* Add requires-b2 check to top-level build file.

* Sync upstream.

* Fix typo in test framework reference.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Switch to /boost/test//included target for header only mode of Boost.Test.

* Adjust doc build to avoid boost-root references.

* Update build deps.

* Fix project props not applying to the no_eh.obj compile.

* Update build deps.

* Add missing import-search.

* Fix float128_type checks to actually disable tests. Problem was that build is a non-free feature. Which can't be acquired through a usage requirement.

* GPU Batch 7

Fix igamma_large support on device

Add GPU support to toms748

Add GPU support to igamma_inv

Add GPU markers to gamma_inva

Add GPU Markers to lgamma_small

Remove STL usage from gamma

Remove NVRTC workaround

Fix fraction use of STL headers

Mark gamma functions in fwd

Disable declval on all GPU platforms

Disable more unneeded code on device

Add forward decl for NVRTC tgamma

Disable unneeded items for all GPU

Change workaround for missing overloads

Rearrange definition location

Add include path to cuda now that workaround is removed

Fix NVRTC incompatibility with recursion and forward decls

Add tgamma_ratio CUDA and NVRTC testing

Fix NVRTC handling of gamma_p_derivative

Add gamma_p_derivative CUDA and NVRTC testing

Remove recursion from gamma_incomplete_imp

Add SYCL testing of igamma, igamma_inv, and igamma_inva

Ignore literal-range warnings

Remove use of static const char* for function name

Fix missing CUDA header

Remove calls under NVRTC to fwd decl

Add more nvrtc workarounds

Use builtin erfc instead of header cycle

Add CUDA and NVRTC testing of gamma_p_inv

Adjust tolerances

Add GPU support to chi squared dist

Fix static local variable

Add chi squared dist SYCL testing

Add chi squared dist CUDA testing

Add chi squared dist NVRTC testing

Add GPU support to weibull dist

Add weibull dist SYCL testing

Add weibull dist CUDA testing

Add weibull dist NVRTC testing

* Fix policy macro definition for MSVC platforms

* Don't add quadmath lib for has_128bit_floatmax_t check. It was accidentally copy+pasted.

* Fix incorrect name for float128 type check that caused it to not apear.

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
2024-09-06 08:45:23 -04:00
jzmaddock
7b0caf58c9 Hook up testing of mapairy/holtsmark/saspoint5 distributions. 2024-07-25 13:21:52 +01:00
jzmaddock
07d97df50c Landau Integration testing (#1159)
* Add landau distribution

* Add landau limit test case

* Add landau document

* Landau integration testing.
Hook up tests to Jamfile.
Hook up docs by adding to dist_reference.qbk.
Add std::float64_t tests.
Hook up concept tests in instantiate.hpp.
Add to distributions.hpp
Update static_asserts with better error messages.
Add header inclusion test in dist_landau_incl_test.cpp (and fix resulting errors)

* Add missing #include.

* More Landau test fixes.

* Fix C++23 stdfloat test names.

* Final (doc) update to Landau.

---------

Co-authored-by: tk-yoshimura <yoshimura8192@gmail.com>
2024-07-21 11:54:58 +01:00
jzmaddock
70cdb37759 Merge pull request #1141 from boostorg/nc_t_improvements
Prevent passing denormals in calculation.
2024-06-02 15:25:36 +01:00
jzmaddock
7d56997a99 tentative CI failure fixes. 2024-06-01 10:32:11 +01:00