2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-15 13:12:19 +00:00
Commit Graph

335 Commits

Author SHA1 Message Date
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
John Maddock
f51e500eea Lots of Borland specific patches: quite a few of the special-function tests do now do actually pass.
[SVN r39958]
2007-10-12 10:01:36 +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
fbef4e1906 More Borland workarounds.
[SVN r39854]
2007-10-09 18:11:17 +00:00
John Maddock
1c2234f016 A few fixes to keep Borland happy.
[SVN r39843]
2007-10-09 14:49:37 +00:00
John Maddock
772c8ae7ca Initial math-toolkit commit.
Includes all code and tests, but no docs yet.

[SVN r39792]
2007-10-08 16:58:15 +00:00
John Maddock
8e727140a4 Disable some Intel warnings.
[SVN r39713]
2007-10-05 17:04:58 +00:00
John Maddock
700ea50732 Fixes for VC-7.1.
[SVN r39478]
2007-09-22 17:00:29 +00:00
John Maddock
3d9e81a67e Added needed using declaration to cauchy.hpp.
Added needed #include to config.hpp.
Tightened up compile-tests.
Fixed compile tests so they build with VC++ earlier than VC8sp1.

[SVN r39471]
2007-09-22 09:17:21 +00:00
Paul A. Bristow
76814e7e00 Warning squashing and estimate to find
[SVN r39453]
2007-09-21 17:39:55 +00:00
John Maddock
a744bdaed0 Hopefully fixed test to make it compatible with earlier VC++ versions.
[SVN r39422]
2007-09-20 18:22:32 +00:00
Paul A. Bristow
a434f88dca Yet more error suppression
[SVN r39411]
2007-09-20 13:24:33 +00:00
Paul A. Bristow
e86d2c339c warning suppression with comment - constant too big for float.
[SVN r39403]
2007-09-20 11:39:30 +00:00
Paul A. Bristow
03f951e92f Warning suppression
[SVN r39390]
2007-09-19 15:55:17 +00:00