Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-11-18 07:24:43


Author: johnmaddock
Date: 2007-11-18 07:24:42 EST (Sun, 18 Nov 2007)
New Revision: 41200
URL: http://svn.boost.org/trac/boost/changeset/41200

Log:
Fix IMB xlc error limits, added workarounds where these were missed by the last commit.
Text files modified:
   trunk/libs/math/test/log1p_expm1_test.cpp | 4 ++++
   trunk/libs/math/test/test_erf.cpp | 9 ++++++---
   trunk/libs/math/test/test_laguerre.cpp | 14 ++++++++++++++
   trunk/libs/math/test/test_legendre.cpp | 4 ++--
   4 files changed, 26 insertions(+), 5 deletions(-)

Modified: trunk/libs/math/test/log1p_expm1_test.cpp
==============================================================================
--- trunk/libs/math/test/log1p_expm1_test.cpp (original)
+++ trunk/libs/math/test/log1p_expm1_test.cpp 2007-11-18 07:24:42 EST (Sun, 18 Nov 2007)
@@ -70,7 +70,11 @@
    typedef typename row_type::value_type value_type;
 
    typedef value_type (*pg)(value_type);
+#if defined(BOOST_MATH_NO_DEDUCED_FUNCTION_POINTERS)
+ pg funcp = &boost::math::log1p<value_type>;
+#else
    pg funcp = &boost::math::log1p;
+#endif
 
    boost::math::tools::test_result<value_type> result;
    std::cout << "Testing " << test_name << " with type " << type_name

Modified: trunk/libs/math/test/test_erf.cpp
==============================================================================
--- trunk/libs/math/test/test_erf.cpp (original)
+++ trunk/libs/math/test/test_erf.cpp 2007-11-18 07:24:42 EST (Sun, 18 Nov 2007)
@@ -200,7 +200,6 @@
    typedef typename row_type::value_type value_type;
 
    typedef value_type (*pg)(value_type);
- pg funcp = boost::math::erf;
 
    boost::math::tools::test_result<value_type> result;
    std::cout << "Testing " << test_name << " with type " << type_name
@@ -209,9 +208,9 @@
    // test erf_inv against data:
    //
 #if defined(BOOST_MATH_NO_DEDUCED_FUNCTION_POINTERS)
- funcp = boost::math::erf_inv<value_type>;
+ pg funcp = boost::math::erf_inv<value_type>;
 #else
- funcp = boost::math::erf_inv;
+ pg funcp = boost::math::erf_inv;
 #endif
    result = boost::math::tools::test(
       data,
@@ -228,7 +227,11 @@
    typedef typename row_type::value_type value_type;
 
    typedef value_type (*pg)(value_type);
+#if defined(BOOST_MATH_NO_DEDUCED_FUNCTION_POINTERS)
+ pg funcp = boost::math::erf<value_type>;
+#else
    pg funcp = boost::math::erf;
+#endif
 
    boost::math::tools::test_result<value_type> result;
    std::cout << "Testing " << test_name << " with type " << type_name

Modified: trunk/libs/math/test/test_laguerre.cpp
==============================================================================
--- trunk/libs/math/test/test_laguerre.cpp (original)
+++ trunk/libs/math/test/test_laguerre.cpp 2007-11-18 07:24:42 EST (Sun, 18 Nov 2007)
@@ -103,6 +103,20 @@
       "real_concept", // test type(s)
       ".*", // test data group
       ".*", 40000, 1000); // test function
+ add_expected_result(
+ ".*", // compiler
+ ".*", // stdlib
+ "IBM Aix", // platform
+ largest_type, // test type(s)
+ ".*", // test data group
+ ".*", 5000, 500); // test function
+ add_expected_result(
+ ".*", // compiler
+ ".*", // stdlib
+ "IBM Aix", // platform
+ "real_concept", // test type(s)
+ ".*", // test data group
+ ".*", 5000, 500); // test function
 
    //
    // Catch all cases come last:

Modified: trunk/libs/math/test/test_legendre.cpp
==============================================================================
--- trunk/libs/math/test/test_legendre.cpp (original)
+++ trunk/libs/math/test/test_legendre.cpp 2007-11-18 07:24:42 EST (Sun, 18 Nov 2007)
@@ -113,7 +113,7 @@
       ".*", // platform
       largest_type, // test type(s)
       "Legendre Polynomials.*Large.*", // test data group
- "boost::math::legendre_p", 400, 200); // test function
+ "boost::math::legendre_p", 500, 200); // test function
    add_expected_result(
       ".*", // compiler
       ".*", // stdlib
@@ -149,7 +149,7 @@
       ".*", // platform
       "real_concept", // test type(s)
       "Legendre Polynomials.*Large.*", // test data group
- "boost::math::legendre_p", 400, 200); // test function
+ "boost::math::legendre_p", 500, 200); // test function
    add_expected_result(
       ".*", // compiler
       ".*", // stdlib


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