|
Boost-Commit : |
From: john_at_[hidden]
Date: 2007-08-16 09:07:33
Author: johnmaddock
Date: 2007-08-16 09:07:32 EDT (Thu, 16 Aug 2007)
New Revision: 38713
URL: http://svn.boost.org/trac/boost/changeset/38713
Log:
Fixed Cygwin failures.
Text files modified:
sandbox/math_toolkit/libs/math/test/test_bessel_j.cpp | 4 ++--
sandbox/math_toolkit/libs/math/test/test_bessel_y.cpp | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
Modified: sandbox/math_toolkit/libs/math/test/test_bessel_j.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_bessel_j.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_bessel_j.cpp 2007-08-16 09:07:32 EDT (Thu, 16 Aug 2007)
@@ -134,7 +134,7 @@
".*", 40000, 30000); // test function
-
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
if((std::numeric_limits<double>::digits != std::numeric_limits<long double>::digits)
&& (std::numeric_limits<long double>::digits < 90))
{
@@ -192,7 +192,7 @@
".*(JN|j).*|.*Tricky.*", // test data group
".*", 33000, 20000); // test function
}
-
+#endif
add_expected_result(
".*", // compiler
".*", // stdlib
Modified: sandbox/math_toolkit/libs/math/test/test_bessel_y.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_bessel_y.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_bessel_y.cpp 2007-08-16 09:07:32 EDT (Thu, 16 Aug 2007)
@@ -144,6 +144,7 @@
".*Yn.*", // test data group
".*", 30000, 30000); // test function
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
if((std::numeric_limits<double>::digits != std::numeric_limits<long double>::digits)
&& (std::numeric_limits<long double>::digits < 90))
{
@@ -163,6 +164,7 @@
".*Yv.*", // test data group
".*", 80, 70); // test function
}
+#endif
//
// defaults are based on MSVC-8 on Win32:
//
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