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

37 Commits

Author SHA1 Message Date
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
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
Christopher Kormanyos
be0c78bb4c Add a few more cstdfloat 128-bit tests 2021-08-30 19:04:44 +02:00
Christopher Kormanyos
670b5c4ee9 More edge ranges and optimize expq patch 2021-08-30 13:47:57 +02:00
Christopher Kormanyos
0a7790da75 Merge branch 'develop' into i506_cstdfloat_complex_std 2021-05-03 22:50:53 +02:00
Matt Borland
d6a04ab194 Remove all BOOST_MATH_STATIC_ASSERT_MSG 2021-03-16 22:42:09 +03:00
Matt Borland
fbadd8d653 remove boost.static_assert 2021-03-14 12:49:38 +03:00
Christopher Kormanyos
aa10d66c0d [ci skip] Merge branch 'develop' into i506_cstdfloat_complex_std 2021-02-24 22:54:13 +01:00
Matt Borland
afbd203695 Fixes for test_std_lib CI failures in float128 2021-02-03 19:15:24 +03:00
Christopher Kormanyos
95c0769e29 [CI SKIP] Handle more special cases and test zero 2021-02-01 09:15:21 +01:00
Christopher Kormanyos
f5b2320859 [CI SKIP] Correct intended error and acos for pi 2021-01-31 22:41:16 +01:00
Christopher Kormanyos
a126e222f5 [CI SKIP] Tune suites to run and ensure fail in std 2021-01-31 22:27:41 +01:00
Christopher Kormanyos
d50ddb59d7 [CI SKIP] Increase a tolerance and remove a flag 2021-01-31 22:06:46 +01:00
Christopher Kormanyos
2eac693e12 Try correction mentioned in the issue thread 2021-01-31 14:59:56 +01:00
Christopher Kormanyos
88c7cc8191 [CI SKIP] Try ensure libquadmath is tested 2021-01-31 10:38:40 +01:00
Christopher Kormanyos
1d8a6d6b82 [CI SKIP] Try verify find error and reduce YAML 2021-01-31 10:16:34 +01:00
Nick Thompson
9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
jzmaddock
7dcabda78b Merge branch 'accuracy' into develop
Conflicts:
	test/float128/test_polygamma.cpp
	test/powm1_sqrtp1m1_test.hpp
2015-09-03 09:12:11 +01:00
jzmaddock
7419a04d63 Fix expected error rates 2015-08-24 13:11:01 +01:00
jzmaddock
c6d9a4ed67 Update expected error rates for __float128 polygamma. 2015-07-10 19:50:42 +01:00
jzmaddock
ed25ba9494 Fix regular tests to match revised test headers. 2015-07-02 19:17:16 +01:00
jzmaddock
63525295e4 [Carlson RG] Fix test failures and concept-checking failures. 2015-01-21 17:46:14 +00:00
jzmaddock
e6b86ba93d [Ellint Pi] Fix spurious underflow in sqrt(-v*N). 2014-12-27 13:30:51 +00:00
jzmaddock
be4b5ad3cb [polygamma] Tweak expected error rates. 2014-11-26 19:07:18 +00:00
jzmaddock
0e98fd90c2 [Polygamma] Add optimized trigamma version that uses rational approximations. 2014-11-07 16:32:41 +00:00
jzmaddock
3478ee9c46 [polygamma] Fix GCC failures, a few bugs and forward policy arguments. Fix test data to be 128-bit safe. 2014-11-03 17:55:21 +00:00
jzmaddock
a3bed60089 More test failure fixes. 2014-10-26 16:25:19 +00:00
jzmaddock
dc533a4fd3 Fix some expected error rates. 2014-03-10 18:34:25 +00:00
jzmaddock
c9d65cfa1f Add basic tests for __float128 functions.
Fix one complex function.
Add factorials test.
2014-03-10 18:25:08 +00:00
jzmaddock
ce04b996b3 Add one new test case. 2014-02-28 18:50:03 +00:00
jzmaddock
bedff882ac Fix expected error rates on Linux 2014-02-27 18:02:33 +00:00
jzmaddock
1757348c9b Fix expected error rates on Linux 2014-02-27 17:57:39 +00:00
jzmaddock
049f707a67 Fix Linux GCC failures 2014-02-27 17:07:25 +00:00
jzmaddock
98944fd36b Link statically to libquadmath to avoid dll-hell issues.
Fix compilation errors in concept checks.
Fix missing #includes in some tests.
2014-02-26 18:25:48 +00:00
jzmaddock
46caf7a4f1 Squash a few more compiler errors. 2014-02-24 19:05:17 +00:00
jzmaddock
108785d553 Add missing pow overload to cstdfloat.hpp.
Fix Intel-Windows compilation of the tests.
Make the float128 tests an explicit test case in the Jamfile.
2014-02-24 18:53:50 +00:00
jzmaddock
f1814b0b46 Big search and replace on test data so all the values can be used with a "Q" suffix: basically integer values have had a ".0" added to the end.
Added copies of the tests tweaked to test __float128.
2014-02-24 17:17:05 +00:00