Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83355 - trunk/libs/math/example
From: pbristow_at_[hidden]
Date: 2013-03-08 05:00:49


Author: pbristow
Date: 2013-03-08 05:00:48 EST (Fri, 08 Mar 2013)
New Revision: 83355
URL: http://svn.boost.org/trac/boost/changeset/83355

Log:
Removed 'expected to fail' example.
Text files modified:
   trunk/libs/math/example/test_cpp_float_close_fraction.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/math/example/test_cpp_float_close_fraction.cpp
==============================================================================
--- trunk/libs/math/example/test_cpp_float_close_fraction.cpp (original)
+++ trunk/libs/math/example/test_cpp_float_close_fraction.cpp 2013-03-08 05:00:48 EST (Fri, 08 Mar 2013)
@@ -39,7 +39,7 @@
 with `boost::multiprecision::et_off`, an enumerated type.
 
   typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<50>, boost::multiprecision::et_off>
- cpp_dec_float_50_noet;`
+ cpp_dec_float_50_noet;
 
 You can reduce typing with a `using` directive `using namespace boost::multiprecision;`
 if desired, as shown below.
@@ -66,7 +66,7 @@
   std::cout <<"a = " << a << ",\nb = " << b << ",\neps = " << eps << std::endl;
 
   BOOST_CHECK_CLOSE(a, b, eps); // Expected to pass (because tolerance is as percent).
- BOOST_CHECK_CLOSE_FRACTION(a, b, eps); // Expected to fail.
+ // BOOST_CHECK_CLOSE_FRACTION(a, b, eps); // Expected to fail.
 
 /*`Using `cpp_dec_float_50` with the default expression template use switched on,
   the compiler error message for `BOOST_CHECK_CLOSE_FRACTION(a, b, eps); would be:


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