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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user