Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83105 - trunk/libs/math/test
From: john_at_[hidden]
Date: 2013-02-23 13:27:42


Author: johnmaddock
Date: 2013-02-23 13:27:41 EST (Sat, 23 Feb 2013)
New Revision: 83105
URL: http://svn.boost.org/trac/boost/changeset/83105

Log:
Up tolerance.
Text files modified:
   trunk/libs/math/test/test_gamma.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/math/test/test_gamma.hpp
==============================================================================
--- trunk/libs/math/test/test_gamma.hpp (original)
+++ trunk/libs/math/test/test_gamma.hpp 2013-02-23 13:27:41 EST (Sat, 23 Feb 2013)
@@ -187,7 +187,7 @@
    // Test bug fixes in tgamma:
    if(std::numeric_limits<T>::max_exponent10 > 244)
    {
- BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(142.75)), static_cast<T>(7.8029496083318133344429227511387928576820621466e244L), tolerance);
+ BOOST_CHECK_CLOSE(::boost::math::tgamma(static_cast<T>(142.75)), static_cast<T>(7.8029496083318133344429227511387928576820621466e244L), tolerance * 4);
    }
 #ifdef BOOST_MSVC
 #pragma warning(pop)


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