Commit Graph

30 Commits

Author SHA1 Message Date
Nick Thompson
9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
Brian Kuhl
bb6bdc4c61 Use <boost::math::policies::real> instead of <real>
Dinkum STL declares and inline real() function in the global namespace that clang can not distinguish from policies::real otherwise
2018-06-24 22:41:39 -04: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
John Maddock
6e626c1830 Fix edge case in Halley iteration where the derivative is flatlining.
Fix edge cases in poisson distribution quantile.
Fixes #8314.
Fixes #8308.
Update and regenerate docs.

[SVN r83512]
2013-03-21 13:01:50 +00:00
Gennadiy Rozental
3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
John Maddock
41bd4bd442 Update to use new out-of-bounds error checking.
Refs #6934.

[SVN r78771]
2012-05-30 16:52:18 +00:00
John Maddock
fe611467f4 Fix up tests to not run real_concept tests when BOOST_MATH_NO_REAL_CONCEPT_TESTS is set.
[SVN r78208]
2012-04-26 15:48:42 +00:00
John Maddock
887f590fcd Refactor the tests some more: allow tables of data to be of a different type to the type being tested - allows us to have tables of POD's (fast to compile) rather than tables of UDT's which compile very slowly on some compilers (usually Intel).
[SVN r76544]
2012-01-16 18:25:02 +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
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
94181567fa Fix some Sun-5.9 on Linux failures.
[SVN r50341]
2008-12-21 10:23:52 +00:00
John Maddock
669bfb3991 Merged changes from sandbox to Trunk:
New special functions for truncation and rounding, plus exponential integrals and zeta.
New non central distributions.
Updated equation png's so that they are all consistent.

[SVN r44091]
2008-04-07 15:58:51 +00:00
John Maddock
d112d855f2 Some minor tweaks to support Sun's compiler on Linux.
[SVN r40678]
2007-11-02 08:59:24 +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
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
e6a8118e0c Fixed a few more regressions, and quashed a few warnings.
[SVN r38712]
2007-08-16 12:22:22 +00:00
John Maddock
c3ffe27f16 Changed the name of some of the discrete quantile policies, and more or less finished the policy tutorial.
[SVN r38609]
2007-08-12 09:24:08 +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
1b86b19af6 Changed gamma_P/gamma_Q to gamma_p/gamma_q.
[SVN r3570]
2006-12-23 17:28:30 +00:00
Paul A. Bristow
a5e0fe7f86 Updated tests for accuacy etc.
[SVN r3554]
2006-12-21 18:05:25 +00:00
Paul A. Bristow
2f47640e6c Added median tests
[SVN r3540]
2006-12-20 15:33:43 +00:00
Paul A. Bristow
117a715923 Added tests for prob smaller than cdf(0) for quantile and complement.
[SVN r3457]
2006-11-24 17:52:05 +00:00
Paul A. Bristow
c92f714cb7 Shows commit needed - not sure why but probably comment only.
[SVN r3387]
2006-11-14 14:56:23 +00:00
Paul A. Bristow
d9d5f2b21e tests revised to try to cover failures in 80 and 128 bit FP cases. Added throw checks
[SVN r3345]
2006-11-04 10:55:12 +00:00
Paul A. Bristow
55a7bcc2bb Add test for convenient construction.
[SVN r3295]
2006-10-23 10:29:56 +00:00
Paul A. Bristow
abec24fc6d More tests of optimised version (JM's best so far)
[SVN r3262]
2006-10-17 09:07:45 +00:00
Paul A. Bristow
fa33ecb003 more tests added to test new pdf and cdf code changes.
[SVN r3255]
2006-10-15 15:39:14 +00:00
Paul A. Bristow
2a191a2655 1st poisson distribuion sanity test.
[SVN r3247]
2006-10-10 15:32:21 +00:00