Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65972 - trunk/libs/math/test
From: john_at_[hidden]
Date: 2010-10-15 06:33:14


Author: johnmaddock
Date: 2010-10-15 06:33:13 EDT (Fri, 15 Oct 2010)
New Revision: 65972
URL: http://svn.boost.org/trac/boost/changeset/65972

Log:
Fix expected failure rates for platforms with no long doubles.
Text files modified:
   trunk/libs/math/test/test_hypergeometric_dist.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/libs/math/test/test_hypergeometric_dist.cpp
==============================================================================
--- trunk/libs/math/test/test_hypergeometric_dist.cpp (original)
+++ trunk/libs/math/test/test_hypergeometric_dist.cpp 2010-10-15 06:33:13 EDT (Fri, 15 Oct 2010)
@@ -57,6 +57,7 @@
 #else
    largest_type = "(long\\s+)?double";
 #endif
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
    if((boost::math::tools::digits<long double>() > boost::math::tools::digits<double>())
       && (boost::math::tools::digits<long double>() < 100))
    {
@@ -78,6 +79,7 @@
          ".*", // test data group
          ".*", 10, 10); // test function
    }
+#endif
 
    add_expected_result(
       ".*", // compiler


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