Commit Graph

22 Commits

Author SHA1 Message Date
Nick Thompson
9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
jzmaddock
797ee52fcd Correct test_round.cpp so it doesn't invoke undefined behavior: see https://github.com/boostorg/math/issues/135 2018-07-29 18:23:22 +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
ee2d3a68af Oh my, fix lots of typos (search and replace). 2015-06-18 18:47:50 +01:00
jzmaddock
afc1237939 Stop using modfl on Mingw - it crashes! 2015-05-25 19:20:09 +01:00
jzmaddock
1d37f8ad9d Add extended tests for difficult cases from https://github.com/boostorg/math/pull/8 2014-08-25 17:02:21 +01:00
Robin Eckert
81cfe69d32 add explicit test cases for rounding corner cases 2014-08-23 19:31:08 +02:00
Robin Eckert
2b5ef4aa93 pull out for loop body of rounding test for later test 2014-08-23 19:14:14 +02:00
jzmaddock
728ec23c21 Add lots of missing #includes. 2014-03-21 17:36:18 +00:00
John Maddock
60198aafca Fix raise_rounding_error to return the correct result (and type) when an error occurs.
Fixes #7905.

[SVN r82885]
2013-02-14 18:20:03 +00:00
Gennadiy Rozental
3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
John Maddock
48e179266b Fix error checking for trunc and round functions.
Update tests to match.

[SVN r74925]
2011-10-12 11:06:09 +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
7a7e393485 Fix boost::math::round to handle halfway cases correctly.
Update tests accordingly.
Update boost::math::fmod docs to make sign and rounding direction clear.

[SVN r61252]
2010-04-13 16:50:46 +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
Paul A. Bristow
b45c54f8c9 Warning suppression
[SVN r50721]
2009-01-22 09:48:57 +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
0aa1a09902 Merged changes from Trunk.
[SVN r45478]
2008-05-18 08:29:50 +00:00
John Maddock
3ccbd30ab3 Merged patches from Trunk.
[SVN r44695]
2008-04-21 13:04:30 +00:00
John Maddock
928b8d8a63 Added error handling to the rounding functions.
Added better error handling to the non-central chi squared, and updated the tests.

[SVN r42920]
2008-01-23 10:41:06 +00:00
John Maddock
db2ffd21c2 Added trunc, round and fmod family of functions.
[SVN r42244]
2007-12-22 19:01:37 +00:00