Commit Graph

48 Commits

Author SHA1 Message Date
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
John Maddock
79a8199f9c Added new root finding algorithm toms748.
Tidied up inverse code and moved files to detail directory.
Updated docs and Jamfile.


[SVN r3107]
2006-07-26 13:06:56 +00:00
John Maddock
4ecb968fc7 Begun to refactor and tighten up the tests so that results are actually regression tested as well as printed to screen.
Added code for extracting the sign of a number.
Fixed a few bugs and tidied up the code a little in places.
Changed test_result to properly encapsulate it's contents.


[SVN r3106]
2006-07-25 09:17:33 +00:00
John Maddock
6910a75524 Reorganised and refactored limits and constants code.
[SVN r3028]
2006-06-24 12:00:53 +00:00
Paul A. Bristow
b0208fda62 comment on using namespace std and pow.
added std::precision(4) to make clear this is NOT the reason for the using namespace std.


[SVN r2996]
2006-06-19 09:23:35 +00:00
John Maddock
9c044882bb More or less finished beta inverse and gamma inverse plus misc warning suppression and added missing docs.
[SVN r2987]
2006-06-14 13:59:25 +00:00
John Maddock
311dc1c8e8 Fix typos.
[SVN r2974]
2006-06-10 12:42:19 +00:00
John Maddock
6af9ca971b Minor doc update (for error handling).
Minor test updates (ibeta inverses).


[SVN r2964]
2006-05-30 18:01:10 +00:00
John Maddock
aa2c565d12 Initial commit.
[SVN r2955]
2006-05-21 15:45:37 +00:00