Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82750 - trunk/libs/math/test
From: pbristow_at_[hidden]
Date: 2013-02-06 20:26:18


Author: pbristow
Date: 2013-02-05 09:21:56 EST (Tue, 05 Feb 2013)
New Revision: 82750
URL: http://svn.boost.org/trac/boost/changeset/82750

Log:
Airy tests done.

One failure, perhaps just needing tolerance increasing?

Or is there a mistake?
Text files modified:
   trunk/libs/math/test/test_bessel_airy_zeros.cpp | 6 +-----
   1 files changed, 1 insertions(+), 5 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-02-05 09:21:56 EST (Tue, 05 Feb 2013)
@@ -346,7 +346,7 @@
   16 | 51.320322762482062633162699745957897178885350674038
   */
 
- //BOOST_CHECK_CLOSE_FRACTION(cyl_neumann_zero(static_cast<RealType>(220)/100, 1U), static_cast<RealType>(3.6154383428745996706772556069431792744372398748425L), tolerance);
+ BOOST_CHECK_CLOSE_FRACTION(cyl_neumann_zero(static_cast<RealType>(220)/100, 1U), static_cast<RealType>(3.6154383428745996706772556069431792744372398748425L), tolerance);
   // cyl_neumann_zero(static_cast<RealType>(220)/100, 1U){3.6154383428746009}
   //and static_cast<RealType>(3.6154383428745996706772556069431792744372398748425L)
   // {3.6154383428745995}
@@ -473,9 +473,6 @@
   BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(1000000000U), static_cast<RealType>(-2.81078366593344513918947921096193426320298300481145E+6L), tolerance);
   BOOST_CHECK_CLOSE_FRACTION(airy_ai_zero<RealType>(1000000001U), static_cast<RealType>(-2.81078366780730091663459728526906320267920607427246E+6L), tolerance);
 
-
-
-
   // Test Data for airy_bi
   using boost::math::airy_bi_zero;
 
@@ -524,7 +521,6 @@
   //Table[N[AiryBiZero[n], 51], {n, 1000000000, 1000000001, 1}]
   BOOST_CHECK_CLOSE_FRACTION(airy_bi_zero<RealType>(1000000000U), static_cast<RealType>(-2.81078366499651725023268820158218492845371527054171E+6L), tolerance);
   BOOST_CHECK_CLOSE_FRACTION(airy_bi_zero<RealType>(1000000001U), static_cast<RealType>(-2.81078366687037302799011557215619265502627118526716E+6L), tolerance);
-
   
 } // template <class RealType> void test_spots(RealType)
 


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