Commit Graph

28 Commits

Author SHA1 Message Date
Nick Thompson
9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
John Maddock
48a2c84843 Fix expected error rates for Oracle C++ on Solaris 2016-07-19 17:54:30 +00: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
008ed4d9b7 Add non central distributions to accuracy reporting. 2015-06-30 19:37:15 +01:00
jzmaddock
4638c8dfd4 [non-central-t] Reorganize tests a little. 2014-12-10 18:38:09 +00:00
jzmaddock
d1d6d5b063 Fix derivative of incomplete beta in special cases where a = b = 0.5 and b = 1.
Add additional tests to non-central F and T distributions to verify above fix.
Fixes https://svn.boost.org/trac/boost/ticket/10480.
2014-09-12 16:29:29 +01:00
jzmaddock
728ec23c21 Add lots of missing #includes. 2014-03-21 17:36:18 +00:00
jzmaddock
c005d4d4d1 Fix test tolerances for new tgamma code. 2014-01-06 17:24:45 +00:00
John Maddock
fc9da60883 Apply remaining fixes from #8732.
Also adds msb (most significant bit) function to multiprecision.
Fixes #8732.

[SVN r84921]
2013-07-01 15:43:28 +00:00
Gennadiy Rozental
3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
Paul A. Bristow
5b791ac5b3 Added licence info to files listed in report.
[SVN r81744]
2012-12-06 15:44:24 +00:00
Paul A. Bristow
d89b599121 Messsages inserted to find closer to line causing trouble on GCC
[SVN r80197]
2012-08-25 10:14:14 +00:00
John Maddock
e5723529c2 Fix remaining GCC and Intel issues for very large v in non-central t.
[SVN r80195]
2012-08-25 09:13:42 +00:00
Paul A. Bristow
b164089abb Added infinite degrees of freedom support and other new tests.
[SVN r80116]
2012-08-21 17:36:09 +00:00
John Maddock
4be8acfe68 Fix numerical stability problem in incomplete beta: ibeta_fraction2 sometimes has catastrophic cancellation errors when a and b are large and x is near 1.
Change non central t series termination conditions to check for divergent series.
Update tests with new larger test values.

[SVN r80065]
2012-08-17 11:18:18 +00:00
John Maddock
bf39b3834a Fix bug in incomplete beta which causes an exception to be thrown in itrunc when one argument is very large.
Fix several similar issue in the non-central T which cause cancellation errors if we let the starting iteration be zero.
Remove dead code that results from above changes.
Minor fixes to table_type and test_next.cpp.

[SVN r80061]
2012-08-16 15:27:40 +00:00
John Maddock
bc2dc1d4dd Add boilerplate code for testing most domain errors in the distributions.
Update the non-central distributions to make use of it.

[SVN r78751]
2012-05-29 17:43:16 +00:00
John Maddock
78fc9fb7d6 Some more IBM C++ fixes.
[SVN r78264]
2012-04-30 11:38:20 +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
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
f284acaf50 Merge changes from Trunk.
[SVN r47079]
2008-07-04 17:08:58 +00:00
John Maddock
190c26240b Added non central distros to fwd.hpp.
Tightened up error handing in the NC beta and T.
Added NC T docs and equations.
Updated NC T tests.

[SVN r43401]
2008-02-23 09:52:40 +00:00
John Maddock
5e22dad52e Added non-central T to distributions.hpp.
Updated generic_mode to use additive stepping where appropriate.
Improved NC-Beta PDF calculation and termination conditions.
More or less got non-central T finished off: quantiles now work, PDF and mode almost correct.
Fixed typo in toms748_solve.hpp
Updated NC-T tests to include mode and quantile.

[SVN r43333]
2008-02-20 18:11:43 +00:00
John Maddock
3e6b00970c Added some fixes to check for iterations >= the limit rather than ==.
Added extra common error handler.
Factored out some generic quantile code.
Killed some warnings in NC Beta.
Added initial non central T.
Fixed a few doc typos.
Added initial NC T tests.


[SVN r43324]
2008-02-19 16:52:02 +00:00