Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66454 - trunk/libs/math/test
From: john_at_[hidden]
Date: 2010-11-08 11:30:08


Author: johnmaddock
Date: 2010-11-08 11:30:01 EST (Mon, 08 Nov 2010)
New Revision: 66454
URL: http://svn.boost.org/trac/boost/changeset/66454

Log:
Added additional test case in hopes of reproducing bug report #4812.
Refs #4812.
Text files modified:
   trunk/libs/math/test/test_bessel_j.cpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/libs/math/test/test_bessel_j.cpp
==============================================================================
--- trunk/libs/math/test/test_bessel_j.cpp (original)
+++ trunk/libs/math/test/test_bessel_j.cpp 2010-11-08 11:30:01 EST (Mon, 08 Nov 2010)
@@ -482,7 +482,7 @@
     do_test_cyl_bessel_j_int(j1_tricky, name, "Bessel J1: Mathworld Data (tricky cases) (Integer Version)");
     do_test_cyl_bessel_j_int(jn_data, name, "Bessel JN: Mathworld Data (Integer Version)");
 
- static const boost::array<boost::array<T, 3>, 17> jv_data = {
+ static const boost::array<boost::array<T, 3>, 18> jv_data = {
         //SC_(-2.4), SC_(0), std::numeric_limits<T>::infinity(),
         SC_(2457)/1024, SC_(1)/1024, SC_(3.80739920118603335646474073457326714709615200130620574875292e-9),
         SC_(5.5), SC_(3217)/1024, SC_(0.0281933076257506091621579544064767140470089107926550720453038),
@@ -501,6 +501,8 @@
         SC_(10486074) / (1024*1024), SC_(1e+02), SC_(-0.0547064914615137807616774867984047583596945624129838091326863),
         SC_(10486074) / (1024*1024), SC_(2e+04), SC_(-0.00556783614400875611650958980796060611309029233226596737701688),
         SC_(-10486074) / (1024*1024), SC_(1e+02), SC_(-0.0547613660316806551338637153942604550779513947674222863858713),
+ // Bug report https://svn.boost.org/trac/boost/ticket/4812:
+ SC_(1.5), SC_(8034)/1024, SC_(0.0339477646369710610146236955872928005087352629422508823945264),
     };
     do_test_cyl_bessel_j(jv_data, name, "Bessel J: Mathworld Data");
 


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