Commit Graph

25 Commits

Author SHA1 Message Date
Nick Thompson
9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
Nick Thompson
babead7504 Remove pile of warnings so that the build log is easier to search through. 2018-03-17 16:39:17 +08:00
jzmaddock
0242c64eec float_distance: Fix cases that span several orders of magnitude.
Add more tests.
See https://github.com/boostorg/multiprecision/issues/22.
2017-06-02 19:40:52 +01:00
jzmaddock
c6593b149b Fix GCC test failures when building with -fno-exceptions. 2015-09-06 19:21:17 +01: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
69b2524d13 Document ulp function.
Improve tests, and fix issues that show up.
2015-05-25 08:47:34 +01:00
jzmaddock
94b8195aad Add ulp function.
Update tests for relative_difference etc.
Add new functions to math_fwd.hpp.
Add new functions to concept tests.
2015-05-24 12:01:06 +01:00
jzmaddock
653ffbcb87 Push and pop FPU flags in test case. 2014-03-23 17:06:21 +00:00
jzmaddock
ef123b3504 Fix GCC release mode failures in test_next.cpp by explicitly testing SSE2 settings in next.hpp. 2014-03-22 19:16:36 +00:00
jzmaddock
728ec23c21 Add lots of missing #includes. 2014-03-21 17:36:18 +00:00
jzmaddock
b0c9af5e61 Another attempt to accurately detect when we're in FTZ mode.
Fixes test failures for Win32 executables run on Win64.
2014-02-10 16:51:24 +00:00
Gennadiy Rozental
3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +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
513d4aedfc Fix up Linux x64 tests a little better - note that the test with the FPU in FTZ mode still fail pretty badly, especially with Intel-12.1
[SVN r79576]
2012-07-17 16:54:41 +00:00
John Maddock
c2e90167f7 Tentative fix for issue #4445.
Adds tests for next.hpp when using the SSE2 instruction set in DAZ and FTZ modes.
Note that FTZ mode is particularly pernicious as non-zeros can change to zeros at random points in program flow depending upon the exact instructions generated by the compiler - thus breaking program logic/invariants.
Refs #4445.

[SVN r79572]
2012-07-17 09:22:59 +00:00
John Maddock
f617e8e284 Change nextafter and related functions to handle infinities as arguments the same way as GLIBC and MSVC.
Fixes #5823.

[SVN r74918]
2011-10-11 17:28:13 +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
3f6394139c Merge changes from Trunk.
[SVN r48293]
2008-08-22 12:33:21 +00:00
John Maddock
f284acaf50 Merge changes from Trunk.
[SVN r47079]
2008-07-04 17:08:58 +00:00
John Maddock
b13d51b1fe Added float_advance + docs.
Changed pow<N> to reduce the number of template instantiations.

[SVN r45357]
2008-05-14 18:35:52 +00:00
John Maddock
721d6a0d62 Fixed float_next and added extra tests to detect the bug.
Fixed expected assoc_legendre results.

[SVN r45332]
2008-05-13 16:43:46 +00:00
John Maddock
2d19ade9fd Made float_distance return a signed value.
Added docs for float_next etc.
Updated test_next to cope with signed results.
Added informational output to test_tr1.

[SVN r45220]
2008-05-08 17:14:17 +00:00
John Maddock
2986ee8bf6 Renamed next_* functions to float_*.
[SVN r45216]
2008-05-08 16:16:51 +00:00
John Maddock
d7e23fd2a4 Added first cut of nextafter family of functions.
[SVN r44878]
2008-04-29 12:01:22 +00:00