John Maddock
bde28692c3
Moved real_concept and std_real_concept overloads of the rounding and truncation functions into the same namespace as the classes so that they can be found via ADL.
...
Updated the tests to cope with the change.
Updated library configuration to cope with the change.
Made sure that the rounding and truncation functions are all correctly forward declared.
[SVN r44612]
2008-04-20 10:58:20 +00:00
John Maddock
ade4cc09c4
Removed command line options that screw up Intel on Darwin.
...
Added warning suppression to code instead.
[SVN r44533]
2008-04-18 10:03:46 +00:00
John Maddock
9860b40aca
Try and fix the remaining Intel-Linux failures.
...
[SVN r44507]
2008-04-17 16:21:04 +00:00
John Maddock
8e5072e556
Try and fix one remaining zeta test failure.
...
[SVN r44435]
2008-04-15 17:35:07 +00:00
John Maddock
74b36956cb
Fix error rates on Mac OS X.
...
Fix long double support for pow_test.cpp.
[SVN r44433]
2008-04-15 17:10:18 +00:00
John Maddock
29ebccba73
Attempt fix for Intel on Darwin failures.
...
[SVN r44432]
2008-04-15 16:36:21 +00:00
John Maddock
c05ff98898
Fix IBM AIX compiler errors.
...
[SVN r44431]
2008-04-15 16:32:28 +00:00
John Maddock
6c50f2e966
Remove test row that causes problems for VC-7.1 due to a compiler bug.
...
[SVN r44352]
2008-04-12 16:42:28 +00:00
John Maddock
d6071aded4
Fix declaration order in dist_nc_beta_incl_test.cpp test.
...
Fix long long usage in sf_modf_incl_test.cpp.
Adjust failure rates in test_zeta.cpp to cope with HP aCC and 128-bit long doubles.
[SVN r44351]
2008-04-12 16:28:57 +00:00
John Maddock
7fd387031c
Update tolerance used for skewness test.
...
[SVN r44189]
2008-04-11 18:12:02 +00:00
John Maddock
4f7c4cfc24
Update error levels for real_concept tests.
...
[SVN r44188]
2008-04-11 18:08:59 +00:00
John Maddock
1e4560e42b
We don't need duplicate using declarations.
...
[SVN r44187]
2008-04-11 17:57:58 +00:00
John Maddock
fdda9b8350
Disable long double tests on unsupported platforms.
...
[SVN r44186]
2008-04-11 17:54:47 +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
25f51c8bee
Fix min/max usage violation.
...
[SVN r43145]
2008-02-07 10:13:31 +00:00
John Maddock
77df75a1c3
Disable long double tests if there's no long double support.
...
[SVN r42078]
2007-12-15 18:29:29 +00:00
John Maddock
d1c0d26e25
Fix bad comments in test files.
...
[SVN r42035]
2007-12-14 16:36:40 +00:00
John Maddock
fc5f875671
Fixes #1454 .
...
Previous fix was incomplete, so added new tests, confirmed problem report, and added fixes.
All the tests now compile cleanly with g++ -pedantic -Wall -Wno-long-long (checked with gcc-4.4.1 and 3.4.4).
[SVN r42012]
2007-12-13 18:45:58 +00:00
John Maddock
128f2adc14
Fixes #1454 .
...
[SVN r41966]
2007-12-11 16:37:22 +00:00
John Maddock
73c76aad6d
Fix IMB xlc error limits, added workarounds where these were missed by the last commit.
...
[SVN r41200]
2007-11-18 12:24:42 +00:00
John Maddock
99ae15a9cc
Ooops: previous commit broke platforms/compilers with no long double support, added workaround as fix.
...
[SVN r41193]
2007-11-18 10:07:14 +00:00
John Maddock
b3a3f39802
Ooops, check on wrong index, now fixed.
...
[SVN r41169]
2007-11-17 10:00:43 +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
4efbfe4d7c
Adjust test logic to cope with compilers that don't underflow constants to zero when they should.
...
[SVN r41026]
2007-11-12 10:00:46 +00:00
John Maddock
69031ebe9d
Added static assertion to catch use of long double function overloads when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
...
Made sure that if BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined, then no long double overloads are actually instantiated by the tests.
[SVN r41007]
2007-11-11 14:05:50 +00:00
John Maddock
6aa3c20c23
Fixes for IBM xlc: ensure that functions that are also macros are correctly protected against macro expansion.
...
[SVN r40971]
2007-11-09 18:42:46 +00:00
John Maddock
bf1404a2df
Improved error messages and added tentative fixes for HP Tru64: the compiler appears to store constants that should underflow to zero as a small non-zero values which messes up the logic used in the test cases.
...
[SVN r40963]
2007-11-09 11:01:45 +00:00
John Maddock
6843b20e88
Still trying to get the Solaris error rates correct....
...
[SVN r40960]
2007-11-09 09:54:43 +00:00
John Maddock
2b88b46284
Disabled use of long double when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
...
Disabled special-double precision error rates when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
[SVN r40882]
2007-11-07 11:59:39 +00:00
John Maddock
599b5c958e
Change test (again) so that the range of values tested matches original test: last change started testing more extreme input values, which caused regressions on Mac OS X.
...
[SVN r40881]
2007-11-07 11:50:02 +00:00
John Maddock
6d29a297d7
Fix for Mac OS error rates.
...
[SVN r40847]
2007-11-06 17:21:28 +00:00
John Maddock
96b43ca1bd
Still trying to get those Solaris error rates correct.
...
[SVN r40845]
2007-11-06 17:09:33 +00:00
John Maddock
d199b59ef0
Still trying to get the Solaris error rates correct.
...
[SVN r40844]
2007-11-06 17:02:26 +00:00
John Maddock
b020bede18
Changed test so that input values are exact binary values to fix failure at float precision.
...
[SVN r40781]
2007-11-05 12:08:39 +00:00
John Maddock
325a076259
Still trying to get Mac OS error rates correct...
...
[SVN r40771]
2007-11-05 09:33:31 +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
d112d855f2
Some minor tweaks to support Sun's compiler on Linux.
...
[SVN r40678]
2007-11-02 08:59:24 +00:00
John Maddock
2426ea735d
Still more tweaks to try and figure out why this fails on Tru64.
...
[SVN r40636]
2007-11-01 10:17:49 +00:00
John Maddock
20ba1ae426
Try and get better error messages to debug Tru64 failures.
...
[SVN r40623]
2007-10-31 12:43:10 +00:00
John Maddock
b7decbd587
split test_policy into 2 to reduce compile times.
...
Added expected error rates for Mac OS X on Intel.
[SVN r40522]
2007-10-28 11:07:14 +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
909bd2b39f
Try and work around a Tru64 overload resolution bug.
...
[SVN r40484]
2007-10-26 18:12:28 +00:00
John Maddock
1d90f73246
Fix HPUX error levels: reordered expected failure rates so that they still work when largest_real == double.
...
[SVN r40401]
2007-10-24 08:49:06 +00:00
John Maddock
3313f991c0
Fixes for the Sun-5.9 compiler: don't try and encode constants smaller than LDBL_MIN, the compiler chokes on it.
...
Fixes for STLport: long double stream operators are broken (streaming in appears not to work at all, streaming out can segfault if the value is too small).
[SVN r40083]
2007-10-16 15:41:57 +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