Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-11-02 09:02:41


Author: johnmaddock
Date: 2007-11-02 09:02:41 EDT (Fri, 02 Nov 2007)
New Revision: 40684
URL: http://svn.boost.org/trac/boost/changeset/40684

Log:
Fixes for Mac OS X on PowerPC Darwin.
Text files modified:
   trunk/libs/math/test/test_bessel_j.cpp | 23 ++++++++++++++---------
   trunk/libs/math/test/test_ibeta.cpp | 2 ++
   2 files changed, 16 insertions(+), 9 deletions(-)

Modified: trunk/libs/math/test/test_bessel_j.cpp
==============================================================================
--- trunk/libs/math/test/test_bessel_j.cpp (original)
+++ trunk/libs/math/test/test_bessel_j.cpp 2007-11-02 09:02:41 EDT (Fri, 02 Nov 2007)
@@ -112,6 +112,20 @@
       ".*", // compiler
       ".*", // stdlib
       "Mac OS", // platform
+ largest_type, // test type(s)
+ ".*J0.*Tricky.*", // test data group
+ ".*", 400000000, 400000000); // test function
+ add_expected_result(
+ ".*", // compiler
+ ".*", // stdlib
+ "Mac OS", // platform
+ largest_type, // test type(s)
+ ".*J1.*Tricky.*", // test data group
+ ".*", 900000, 800000); // test function
+ add_expected_result(
+ ".*", // compiler
+ ".*", // stdlib
+ "Mac OS", // platform
       largest_type, // test type(s)
       "Bessel JN.*", // test data group
       ".*", 40000, 20000); // test function
@@ -123,15 +137,6 @@
       "Bessel J:.*", // test data group
       ".*", 50000, 20000); // test function
 
- // This shouldn't be required, could be limited test data precision
- // i.e. not enough bits in double input to get double result.
- add_expected_result(
- ".*", // compiler
- ".*", // stdlib
- "Mac OS", // platform
- "double", // test type(s)
- ".*Tricky.*", // test data group
- ".*", 200000, 200000); // test function
 
 
    //

Modified: trunk/libs/math/test/test_ibeta.cpp
==============================================================================
--- trunk/libs/math/test/test_ibeta.cpp (original)
+++ trunk/libs/math/test/test_ibeta.cpp 2007-11-02 09:02:41 EDT (Fri, 02 Nov 2007)
@@ -103,6 +103,7 @@
    // *very* extreme due to the increased exponent range
    // of 80-bit long doubles. Also effect Mac OS.
    //
+#ifndef BOOST_MATH_NO_REAL_CONCEPT_TESTS
    add_expected_result(
       "[^|]*", // compiler
       "[^|]*", // stdlib
@@ -110,6 +111,7 @@
       "double", // test type(s)
       "(?i).*large.*", // test data group
       ".*", 40, 20); // test function
+#endif
    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