$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r78264 - trunk/libs/math/test
From: john_at_[hidden]
Date: 2012-04-30 07:38:21
Author: johnmaddock
Date: 2012-04-30 07:38:20 EDT (Mon, 30 Apr 2012)
New Revision: 78264
URL: http://svn.boost.org/trac/boost/changeset/78264
Log:
Some more IBM C++ fixes.
Text files modified: 
   trunk/libs/math/test/test_expint.cpp         |     2 ++                                      
   trunk/libs/math/test/test_nc_chi_squared.cpp |     2 +-                                      
   trunk/libs/math/test/test_nc_t.cpp           |     2 +-                                      
   trunk/libs/math/test/test_sign.cpp           |     2 +-                                      
   trunk/libs/math/test/test_skew_normal.cpp    |     2 +-                                      
   5 files changed, 6 insertions(+), 4 deletions(-)
Modified: trunk/libs/math/test/test_expint.cpp
==============================================================================
--- trunk/libs/math/test/test_expint.cpp	(original)
+++ trunk/libs/math/test/test_expint.cpp	2012-04-30 07:38:20 EDT (Mon, 30 Apr 2012)
@@ -132,7 +132,9 @@
    test_spots(0.0, "double");
 #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
    test_spots(0.0L, "long double");
+#ifndef BOOST_MATH_NO_REAL_CONCEPT_TESTS
    test_spots(boost::math::concepts::real_concept(0.1), "real_concept");
+#endif
 #else
    std::cout << "<note>The long double tests have been disabled on this platform "
       "either because the long double overloads of the usual math functions are "
Modified: trunk/libs/math/test/test_nc_chi_squared.cpp
==============================================================================
--- trunk/libs/math/test/test_nc_chi_squared.cpp	(original)
+++ trunk/libs/math/test/test_nc_chi_squared.cpp	2012-04-30 07:38:20 EDT (Mon, 30 Apr 2012)
@@ -525,7 +525,7 @@
 #ifdef TEST_LDOUBLE
    test_spots(0.0L); // Test long double.
 #endif
-#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))
+#ifndef BOOST_MATH_NO_REAL_CONCEPT_TESTS
 #ifdef TEST_REAL_CONCEPT
    test_spots(boost::math::concepts::real_concept(0.)); // Test real concept.
 #endif
Modified: trunk/libs/math/test/test_nc_t.cpp
==============================================================================
--- trunk/libs/math/test/test_nc_t.cpp	(original)
+++ trunk/libs/math/test/test_nc_t.cpp	2012-04-30 07:38:20 EDT (Mon, 30 Apr 2012)
@@ -500,7 +500,7 @@
 #ifdef TEST_LDOUBLE
    test_spots(0.0L); // Test long double.
 #endif
-#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))
+#ifndef BOOST_MATH_NO_REAL_CONCEPT_TESTS
 #ifdef TEST_REAL_CONCEPT
    test_spots(boost::math::concepts::real_concept(0.)); // Test real concept.
 #endif
Modified: trunk/libs/math/test/test_sign.cpp
==============================================================================
--- trunk/libs/math/test/test_sign.cpp	(original)
+++ trunk/libs/math/test/test_sign.cpp	2012-04-30 07:38:20 EDT (Mon, 30 Apr 2012)
@@ -33,7 +33,7 @@
 
    // Compare to formula for changsign(x) = copysign(x, signbit(x) ? 1.0 : -1.0)
    BOOST_CHECK_EQUAL((boost::math::changesign)(b),
-      (boost::math::copysign)(b, boost::math::signbit(b) ? RealType(1.) : RealType(-1.) ));
+      (boost::math::copysign)(b, (boost::math::signbit)(b) ? RealType(1.) : RealType(-1.) ));
 
 
    BOOST_CHECK_EQUAL((boost::math::copysign)(b, a), RealType(1));
Modified: trunk/libs/math/test/test_skew_normal.cpp
==============================================================================
--- trunk/libs/math/test/test_skew_normal.cpp	(original)
+++ trunk/libs/math/test/test_skew_normal.cpp	2012-04-30 07:38:20 EDT (Mon, 30 Apr 2012)
@@ -423,7 +423,7 @@
            , static_cast<RealType>(-6.11279169674138408531365L), 2 * tol100);
         BOOST_CHECK_CLOSE(      // variance:
           variance(dist)
-          , static_cast<RealType>(9.10216994642554914628242L), tol100);
+          , static_cast<RealType>(9.10216994642554914628242L), tol100 * 2);
 
         BOOST_CHECK_CLOSE(      // skewness:
            skewness(dist)