From be2ccd4e736aeef9ea5041d6e2510da376c7f85d Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 16 Aug 2007 13:07:32 +0000 Subject: [PATCH] Fixed Cygwin failures. [SVN r38713] --- test/test_bessel_j.cpp | 4 ++-- test/test_bessel_y.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_bessel_j.cpp b/test/test_bessel_j.cpp index 7ad5cc6e8..47ef43e32 100644 --- a/test/test_bessel_j.cpp +++ b/test/test_bessel_j.cpp @@ -134,7 +134,7 @@ void expected_results() ".*", 40000, 30000); // test function - +#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS if((std::numeric_limits::digits != std::numeric_limits::digits) && (std::numeric_limits::digits < 90)) { @@ -192,7 +192,7 @@ void expected_results() ".*(JN|j).*|.*Tricky.*", // test data group ".*", 33000, 20000); // test function } - +#endif add_expected_result( ".*", // compiler ".*", // stdlib diff --git a/test/test_bessel_y.cpp b/test/test_bessel_y.cpp index 6fa5b7ab6..df47f741e 100644 --- a/test/test_bessel_y.cpp +++ b/test/test_bessel_y.cpp @@ -144,6 +144,7 @@ void expected_results() ".*Yn.*", // test data group ".*", 30000, 30000); // test function +#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS if((std::numeric_limits::digits != std::numeric_limits::digits) && (std::numeric_limits::digits < 90)) { @@ -163,6 +164,7 @@ void expected_results() ".*Yv.*", // test data group ".*", 80, 70); // test function } +#endif // // defaults are based on MSVC-8 on Win32: //