Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83343 - trunk/libs/math/test
From: pbristow_at_[hidden]
Date: 2013-03-07 05:03:29


Author: pbristow
Date: 2013-03-07 05:03:28 EST (Thu, 07 Mar 2013)
New Revision: 83343
URL: http://svn.boost.org/trac/boost/changeset/83343

Log:
Yet another tolerance tweak for airy_ai_zero and airy_bi_zero for 80 bit platforms.
Text files modified:
   trunk/libs/math/test/test_bessel_airy_zeros.cpp | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: trunk/libs/math/test/test_bessel_airy_zeros.cpp
==============================================================================
--- trunk/libs/math/test/test_bessel_airy_zeros.cpp (original)
+++ trunk/libs/math/test/test_bessel_airy_zeros.cpp 2013-03-07 05:03:28 EST (Thu, 07 Mar 2013)
@@ -26,7 +26,6 @@
 
 #include <typeinfo>
 
-
 // #include <boost/math/tools/
 //
 // DESCRIPTION:
@@ -855,7 +854,7 @@
 
   // WolframAlpha Table[N[AiryAiZero[n], 51], {n, 1, 20, 1}]
 
- BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(1), static_cast<RealType>(-2.33810741045976703848919725244673544063854014567239L), tolerance);
+ BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(1), static_cast<RealType>(-2.33810741045976703848919725244673544063854014567239L), tolerance * 2);
   BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(2), static_cast<RealType>(-4.08794944413097061663698870145739106022476469910853L), tolerance);
   BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(3), static_cast<RealType>(-5.52055982809555105912985551293129357379721428061753L), tolerance);
   BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(4), static_cast<RealType>(-6.78670809007175899878024638449617696605388247739349L), tolerance);
@@ -922,7 +921,7 @@
   //}
 
   // Table[N[AiryBiZero[n], 51], {n, 1, 20, 1}]
- BOOST_CHECK_CLOSE_FRACTION(airy_bi_zero<RealType>(1), static_cast<RealType>(-1.17371322270912792491997996247390210454364638917570L), tolerance);
+ BOOST_CHECK_CLOSE_FRACTION(airy_bi_zero<RealType>(1), static_cast<RealType>(-1.17371322270912792491997996247390210454364638917570L), tolerance * 2);
   BOOST_CHECK_CLOSE_FRACTION(airy_bi_zero<RealType>(2), static_cast<RealType>(-3.27109330283635271568022824016641380630093596910028L), tolerance);
   BOOST_CHECK_CLOSE_FRACTION(airy_bi_zero<RealType>(3), static_cast<RealType>(-4.83073784166201593266770933990517817696614261732301L), tolerance);
   BOOST_CHECK_CLOSE_FRACTION(airy_bi_zero<RealType>(4), static_cast<RealType>(-6.16985212831025125983336452055593667996554943427563L), tolerance);


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