Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75715 - sandbox/math_constants/libs/math/test
From: john_at_[hidden]
Date: 2011-11-28 13:54:58


Author: johnmaddock
Date: 2011-11-28 13:54:57 EST (Mon, 28 Nov 2011)
New Revision: 75715
URL: http://svn.boost.org/trac/boost/changeset/75715

Log:
Remove dead code.
Text files modified:
   sandbox/math_constants/libs/math/test/test_constants.cpp | 4 ----
   1 files changed, 0 insertions(+), 4 deletions(-)

Modified: sandbox/math_constants/libs/math/test/test_constants.cpp
==============================================================================
--- sandbox/math_constants/libs/math/test/test_constants.cpp (original)
+++ sandbox/math_constants/libs/math/test/test_constants.cpp 2011-11-28 13:54:57 EST (Mon, 28 Nov 2011)
@@ -76,10 +76,6 @@
    using namespace std; // Help ADL of std exp, log...
    using std::exp;
 
- RealType a = pi<RealType>();
- RealType b = static_cast<RealType>(3.14159265358979323846264338327950288419716939937510L);
- a = fabs((a-b) / b);
-
    BOOST_CHECK_CLOSE_FRACTION(static_cast<RealType>(3.14159265358979323846264338327950288419716939937510L), pi<RealType>(), tolerance);
    BOOST_CHECK_CLOSE_FRACTION(static_cast<RealType>(3.14159265358979323846264338327950288419716939937510L), (pi<RealType, boost::math::policies::policy<> >)(), tolerance);
    BOOST_CHECK_CLOSE_FRACTION(static_cast<RealType>(sqrt(3.14159265358979323846264338327950288419716939937510L)), root_pi<RealType>(), 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