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

58 Commits

Author SHA1 Message Date
Matt Borland
3bb781afda Don't check second macro if user said to use sycl 2025-09-26 12:11:11 +02:00
Matt Borland
f0da5f48f1 Disable promotion in the SYCL case 2025-06-10 14:41:45 -04: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
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
Matt Borland
adf8abd346 Apply GPU markers to ibeta_inv_ab
Remove NVRTC workaround

Apply GPU markers to ibeta_inverse

Apply GPU markers to t_dist_inv

Fix warning suppression

Add dispatch function and remove workaround

Move disabling block

Make binomial GPU enabled

Add SYCL testing of ibeta

Add SYCL testing of ibeta_inv

Add SYCL testing of ibeta_inv_ab

Add SYCL testing of full beta suite

Add makers to fwd decls

Add special forward decls for NVRTC

Add betac nvrtc testing

Add betac CUDA testing

Add ibeta CUDA testing

Add ibeta NVRTC testing

Add ibetac NVRTC testing

Add ibeta_derviative testing to nvrtc

Add ibeta_derivative CUDA testing

Add cbrt policy overload for NVRTC

Fix NVRTC definition of BOOST_MATH_IF_CONSTEXPR

Add ibeta_inv and ibetac_inv NVRTC testing

Fix make pair helper on device

Add CUDA testing of ibeta_inv* and ibetac_inv*

Move location so that it also works on NVRTC

Add NVRTC testing of ibeta_inv* and ibetac_inv*

Fixup test sets since they ignore the policy

Make the beta dist GPU compatible

Add beta dist SYCL testing

Add beta dist CUDA testing

Add beta dist NVRTC testing
2024-08-30 13:46:01 -04: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
08717a8391 Update error rates to match MinGW 2022-02-10 10:58:31 +01:00
Matt Borland
e1601f129a Complete CI test with standalone mode (#680) 2022-01-14 08:12:22 -08:00
Edward Diener
6d678efbf7 Change __BORLANDC__ to BOOST_BORLANDC and __CODEGEARC__ to BOOST_CODEGEARC, which is defined in Boost config for the Embarcadero non-clang-based compilers. (#345) 2020-05-06 11:46:51 -04:00
jzmaddock
3287c922ea Fix some corner cases in the beta functions.
Add better tests for the incomplete beta derivative.
Update docs to match.
2015-09-11 12:02:04 +01:00
jzmaddock
ee2d3a68af Oh my, fix lots of typos (search and replace). 2015-06-18 18:47:50 +01:00
John Maddock
7858278bec Fix gcc-4.8.x warnings.
Fix some Mingw failures.
Fixes #8855.

[SVN r85131]
2013-07-23 11:09:47 +00:00
Gennadiy Rozental
3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
John Maddock
f149d4cf53 Fix double-definition of float_t in tr1.hpp.
Tweak behaviour of BOOST_MATH_BIG_CONSTANT.
Fix expected error rates for a bunch of tests (mostly on Mingw).
Fix paths in owens_t.qbk.

[SVN r78107]
2012-04-21 08:43:06 +00:00
John Maddock
4baef4e354 Refactor tests to make better use of separate file compilation and reduce compile/testing times.
[SVN r76307]
2012-01-04 17:28:50 +00:00
John Maddock
381bddafa0 Finish moving test cases into headers.
Fix array declarations so GCC doesn't warn about them.
Declare constants in headers so they can be used by UDT's larger than type long double.
Suppress a few warnings and fix a couple of bugs that showed up when testing with UDT's.

[SVN r75960]
2011-12-15 11:23:35 +00:00
John Maddock
ba698c2297 Improve ibeta error handling, update and regenerate docs. Update tests.
Fixes #3533.

[SVN r57045]
2009-10-21 15:53:28 +00:00
John Maddock
cc52a19fb4 Improve ibeta error handling, and add new tests.
[SVN r57040]
2009-10-21 12:27:38 +00:00
John Maddock
37fc4f32c3 Add some missing #includes and adjust expected error rates.
[SVN r51611]
2009-03-04 18:25:24 +00:00
John Maddock
2246b77395 Change tests to link to external Boost.Test library as this speeds build times by several factors when building with Intel C++.
Change fpclassify to use our code rather than std::fpclassify with Intel C++ as it doesn't always compile the latter.

[SVN r51576]
2009-03-03 17:16:56 +00:00
John Maddock
323a108149 Merges changes from Sandbox version:
MPFR Support.
New distributions: laplace, logistic and hypergeometric.
Added PCH support to the Jamfiles for faster build times.
Added C# usage example.
Updated and regenerated docs.
Also fixes #2799 and updates the tests to catch this failure in future.

[SVN r51455]
2009-02-26 17:34:52 +00:00
John Maddock
eb9b7a8839 Improve pch support.
Move configuration tests to their own directory so they're only run when required.

[SVN r49442]
2008-10-23 12:24:45 +00:00
John Maddock
710c7ca47d Split files into smaller tests.
Fixes #2307.

[SVN r48682]
2008-09-09 12:10:11 +00:00
John Maddock
1b7401b4c0 Merged changes from Trunk.
[SVN r44090]
2008-04-07 15:43:09 +00:00
John Maddock
605c55e00e Added workarounds for IBM xlc C++: the compiler can't resolve an overloaded function template to a function pointer unless the template arguments are explicitly provided.
Fixed some bugs uncovered by the above workaround: some forward declarations didn't match the actual definition!
Hopefully fixed remaining Sun compiler issues: mostly fixed by above fixes anyway.

[SVN r41142]
2007-11-16 11:30:43 +00:00
John Maddock
e7db05cc1a Merged changes from Trunk.
[SVN r41085]
2007-11-14 12:11:23 +00:00
John Maddock
098513f585 Added workaround for Sunpro not compiling the traits classes.
Added workaround for platforms where numeric_limits<>::denorm_min() does not return a denorm!
Updated Solaris error rates.

[SVN r40727]
2007-11-03 18:32:54 +00:00
John Maddock
6865851961 Try again to fix Darwin failure: the wrong error limit is currently being found.
[SVN r40720]
2007-11-03 12:43:41 +00:00
John Maddock
25a040f5c2 Hopefully, take care of the remaining Tru64 failures: adjust >= test to > in some of the tests, and fix one expected error level for the incomplete beta function.
[SVN r40719]
2007-11-03 12:36:55 +00:00
John Maddock
b2ac0a2925 Fixes for Mac OS X on PowerPC Darwin.
[SVN r40684]
2007-11-02 13:02:41 +00:00
John Maddock
163ea7eaa6 Set expected error limits for HP Tru64.
Prevent very extreme-value round-trip tests from being run.

[SVN r40500]
2007-10-27 11:32:30 +00:00
John Maddock
722a2d848d Merged changes in Trunk.
[SVN r40161]
2007-10-18 18:05:13 +00:00
John Maddock
4ba0027365 Fixed lots of "inspect" issues: bad hyperlinks, tabs in source and missing licenses.
Tweaked some error levels again.

[SVN r40079]
2007-10-16 09:32:28 +00:00
John Maddock
135081f081 Renamed two over-long files
simplified test_compile_result.hpp so hopefully Sunpro can cope with it.
Modified Jamfile to static link to regex lib on Sun.
Adjusted Solaris expected error levels.

[SVN r40012]
2007-10-14 12:54:49 +00:00
John Maddock
b6aa138a79 Fixed most of the remaining Borland issues, and removed dependency to Boost.Lambda.
Added tentative fix for the Sunpro compilers.

[SVN r39971]
2007-10-13 16:23:18 +00:00
John Maddock
d4c1bb24c7 Added Compaq CXX long long workaround to real_concept.hpp.
Added missing forward declaration to ellint_1.hpp.
Adjusted native log1p support for aCC.
Removed bad forward declaration of fpclassify: correct declaration appears later in the file.
Adjusted compile_test/test_compile_result.hpp to not return a NULL reference.
Adjusted permitted error-limits for new platforms.
Split some of the tests into smaller units so we don't get compiler timeouts when building (hopefully!)

[SVN r39893]
2007-10-10 16:05:26 +00:00
John Maddock
3cb6098751 Adjusted limits for Win64 and Sun OS.
[SVN r39881]
2007-10-10 09:28:48 +00:00
John Maddock
734bd76656 Updated expected results for Mac OS X.
[SVN r39067]
2007-08-30 10:14:57 +00:00
Paul A. Bristow
cb82bea11e Paul's Big policy revison
[SVN r38413]
2007-08-03 10:13:47 +00:00
John Maddock
472614473a Merged policy code.
[SVN r7536]
2007-07-25 11:51:46 +00:00
John Maddock
2b9048a2e8 Added an option to disable the "real_concept" tests: these take effectively "forever" to build in release mode with some compilers.
[SVN r7085]
2007-06-17 15:48:25 +00:00
John Maddock
4bdf0dd8f0 Added alternative polynomial and rational function evaluation methods.
Added new optimisation config options (still need documenting).
Tidied up use of instrumentation code so they all use BOOST_MATH_INSTRUMENT now.
Various tweaks to inverse incomplete beta and gamma to reduce number of iterations.
Changed incomplete gamma and beta to calculate derivative at the same time as the function (performance optimisation for inverses).
Fixed MinGW failures.
Refactored and extended rational / polynomial test cases.

[SVN r4172]
2007-05-22 08:52:48 +00:00
John Maddock
cb0194297b Adjusted Mac OS error levels.
Fixed up pareto failures.
Added some debugging code to track remaining Mac OS failures.


[SVN r3926]
2007-04-11 11:44:43 +00:00
John Maddock
27f5e4d59e Updated hypot with simpler formula.
Added sinh and cosh to ntl.hpp.
Fixed FreeBSD test failures (no real long long support).


[SVN r3598]
2007-01-04 16:20:49 +00:00
John Maddock
475d4a0280 Misc small fixes and warning suppressions.
[SVN r3472]
2006-11-28 10:54:09 +00:00
John Maddock
2f964f6ef6 Added finite sum to incomplete beta, plus tests and docs.
Linked in lognormal docs.


[SVN r3310]
2006-10-25 09:03:04 +00:00
John Maddock
6c3c521a3c More linux fixes: finally got AMD64 machines to behave correctly.
[SVN r3186]
2006-09-02 17:56:22 +00:00
John Maddock
84829f74e3 Numerous minor patches to get tests passing on Linux x86 (32-bit) and HP-UX / itanium.
[SVN r3183]
2006-09-02 15:05:43 +00:00
John Maddock
46d9b33645 Tightened up root finding tests.
Added docs for roots without derivatives.
Added derivatives of incomplete gamma and beta.


[SVN r3112]
2006-08-01 17:23:10 +00:00