|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83226 - trunk/libs/math/test
From: pbristow_at_[hidden]
Date: 2013-03-01 05:15:06
Author: pbristow
Date: 2013-03-01 05:15:06 EST (Fri, 01 Mar 2013)
New Revision: 83226
URL: http://svn.boost.org/trac/boost/changeset/83226
Log:
Added missing L and increased a few more tolerances.
Text files modified:
trunk/libs/math/test/test_bessel_airy_zeros.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/math/test/test_bessel_airy_zeros.cpp
==============================================================================
--- trunk/libs/math/test/test_bessel_airy_zeros.cpp (original)
+++ trunk/libs/math/test/test_bessel_airy_zeros.cpp 2013-03-01 05:15:06 EST (Fri, 01 Mar 2013)
@@ -844,8 +844,8 @@
// BOOST_CHECK_EQUAL(airy_ai_zero<RealType>(-1), 0); // warning C4245: 'argument' : conversion from 'int' to 'unsigned int', signed/unsigned mismatch
}
- BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(std::numeric_limits<unsigned>::max()), -7426781.75639318326103L, tolerance);
- BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(std::numeric_limits<int>::max()), -4678579.33301973093739L, tolerance);
+ BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(std::numeric_limits<unsigned>::max()), -static_cast<RealType>(7426781.75639318326103L), tolerance);
+ BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(std::numeric_limits<int>::max()), -static_cast<RealType>(4678579.33301973093739L), tolerance);
// Can't abuse with infinity because won't compile - no conversion.
//if (std::numeric_limits<RealType>::has_infinity)
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk