28 Commits

Author SHA1 Message Date
Matt Borland e4a01104d0 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
2024-08-27 15:32:21 -04:00
Matt Borland 4036b23a5e Add round testing 2024-07-24 16:47:54 -04:00
Matt Borland a120962474 Fix parens [CI SKIP] 2020-12-30 16:29:52 +03:00
Matt Borland cff9cfc1a3 Fix test file too... 2020-12-29 20:31:17 +03:00
Matt Borland a13451838a Add test case of long long max + 1 2020-12-27 20:10:16 +03:00
Matt Borland 0c20005e1b Eliminate -Wimplicit-int-float-conversion on clang 2020-12-27 19:47:09 +03:00
Nick Thompson 9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
jzmaddock 797ee52fcd Correct test_round.cpp so it doesn't invoke undefined behavior: see https://github.com/boostorg/math/issues/135 2018-07-29 18:23:22 +01:00
jzmaddock ba365b5aaa Enable running of tests with exception handling off.
And fix a few bugs that showed up in the process.
Currently msvc-only (not GCC as Boost.Test doesn't build).
2015-09-05 19:08:28 +01:00
jzmaddock ee2d3a68af Oh my, fix lots of typos (search and replace). 2015-06-18 18:47:50 +01:00
jzmaddock afc1237939 Stop using modfl on Mingw - it crashes! 2015-05-25 19:20:09 +01:00
jzmaddock 1d37f8ad9d Add extended tests for difficult cases from https://github.com/boostorg/math/pull/8 2014-08-25 17:02:21 +01:00
Robin Eckert 81cfe69d32 add explicit test cases for rounding corner cases 2014-08-23 19:31:08 +02:00
Robin Eckert 2b5ef4aa93 pull out for loop body of rounding test for later test 2014-08-23 19:14:14 +02:00
jzmaddock 728ec23c21 Add lots of missing #includes. 2014-03-21 17:36:18 +00:00
John Maddock 60198aafca Fix raise_rounding_error to return the correct result (and type) when an error occurs.
Fixes #7905.

[SVN r82885]
2013-02-14 18:20:03 +00:00
Gennadiy Rozental 3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
John Maddock 48e179266b Fix error checking for trunc and round functions.
Update tests to match.

[SVN r74925]
2011-10-12 11:06:09 +00:00
Steven Watanabe 3524499fc0 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach f11d1c3c2b Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
John Maddock 7a7e393485 Fix boost::math::round to handle halfway cases correctly.
Update tests accordingly.
Update boost::math::fmod docs to make sign and rounding direction clear.

[SVN r61252]
2010-04-13 16:50:46 +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
Paul A. Bristow b45c54f8c9 Warning suppression
[SVN r50721]
2009-01-22 09:48:57 +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 0aa1a09902 Merged changes from Trunk.
[SVN r45478]
2008-05-18 08:29:50 +00:00
John Maddock 3ccbd30ab3 Merged patches from Trunk.
[SVN r44695]
2008-04-21 13:04:30 +00:00
John Maddock 928b8d8a63 Added error handling to the rounding functions.
Added better error handling to the non-central chi squared, and updated the tests.

[SVN r42920]
2008-01-23 10:41:06 +00:00
John Maddock db2ffd21c2 Added trunc, round and fmod family of functions.
[SVN r42244]
2007-12-22 19:01:37 +00:00