2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Apply remaining fixes from #8732.

Also adds msb (most significant bit) function to multiprecision.
Fixes #8732.

[SVN r84921]
This commit is contained in:
John Maddock
2013-07-01 15:43:28 +00:00
parent dca59f0d25
commit fc9da60883
10 changed files with 89 additions and 84 deletions

View File

@@ -495,7 +495,7 @@ void test_spots(RealType)
else
{ // real_concept case, does has_infinfity == false, so can't check it throws.
// cout << std::numeric_limits<RealType>::infinity() << ' '
// << boost::math::fpclassify(std::numeric_limits<RealType>::infinity()) << endl;
// << (boost::math::fpclassify)(std::numeric_limits<RealType>::infinity()) << endl;
// value of std::numeric_limits<RealType>::infinity() is zero, so FPclassify is zero,
// so (boost::math::isfinite)(std::numeric_limits<RealType>::infinity()) does not detect infinity.
// so these tests would never throw.