Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85963 - trunk/libs/math/test
From: john_at_[hidden]
Date: 2013-09-26 13:03:11


Author: johnmaddock
Date: 2013-09-26 13:03:11 EDT (Thu, 26 Sep 2013)
New Revision: 85963
URL: http://svn.boost.org/trac/boost/changeset/85963

Log:
Fix test cases

Text files modified:
   trunk/libs/math/test/test_ibeta.hpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/libs/math/test/test_ibeta.hpp
==============================================================================
--- trunk/libs/math/test/test_ibeta.hpp Thu Sep 26 10:47:24 2013 (r85962)
+++ trunk/libs/math/test/test_ibeta.hpp 2013-09-26 13:03:11 EDT (Thu, 26 Sep 2013) (r85963)
@@ -327,13 +327,13 @@
       ::boost::math::ibeta(
          static_cast<T>(0.5f),
          static_cast<T>(0.5f),
- static_cast<T>(0.825)),
+ static_cast<T>(0.825L)),
       static_cast<T>(0.725231121519469565327291851560156562956885802608457839260161L), tolerance);
    BOOST_CHECK_CLOSE(
       ::boost::math::ibetac(
          static_cast<T>(0.5f),
          static_cast<T>(0.5f),
- static_cast<T>(0.825)),
+ static_cast<T>(0.825L)),
       static_cast<T>(0.274768878480530434672708148439843437043114197391542160739838L), tolerance);
    //
    // Second argument is 1 is a special case, see http://functions.wolfram.com/GammaBetaErf/BetaRegularized/03/01/01/
@@ -342,25 +342,25 @@
       ::boost::math::ibeta(
          static_cast<T>(0.5f),
          static_cast<T>(1),
- static_cast<T>(0.825)),
+ static_cast<T>(0.825L)),
       static_cast<T>(0.908295106229247499626759842915458109758420750043003849691665L), tolerance);
    BOOST_CHECK_CLOSE(
       ::boost::math::ibetac(
          static_cast<T>(0.5f),
          static_cast<T>(1),
- static_cast<T>(0.825)),
+ static_cast<T>(0.825L)),
       static_cast<T>(0.091704893770752500373240157084541890241579249956996150308334L), tolerance);
    BOOST_CHECK_CLOSE(
       ::boost::math::ibeta(
          static_cast<T>(30),
          static_cast<T>(1),
- static_cast<T>(0.825)),
+ static_cast<T>(0.825L)),
       static_cast<T>(0.003116150729395132012981654047222541793435357905008020740211L), tolerance);
    BOOST_CHECK_CLOSE(
       ::boost::math::ibetac(
          static_cast<T>(30),
          static_cast<T>(1),
- static_cast<T>(0.825)),
+ static_cast<T>(0.825L)),
       static_cast<T>(0.996883849270604867987018345952777458206564642094991979259788L), 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