|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67956 - trunk/boost/spirit/home/qi/numeric/detail
From: hartmut.kaiser_at_[hidden]
Date: 2011-01-11 08:55:04
Author: hkaiser
Date: 2011-01-11 08:55:02 EST (Tue, 11 Jan 2011)
New Revision: 67956
URL: http://svn.boost.org/trac/boost/changeset/67956
Log:
Spirit: removed debug print statements
Text files modified:
trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
Modified: trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp (original)
+++ trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp 2011-01-11 08:55:02 EST (Tue, 11 Jan 2011)
@@ -13,7 +13,6 @@
#pragma once
#endif
-#include <iostream>
#include <cmath>
#include <limits>
#include <boost/type_traits/is_same.hpp>
@@ -42,33 +41,17 @@
// $$$ Why is this failing for boost.math.concepts ? $$$
//~ int nn = std::numeric_limits<T>::max_exponent10;
//~ BOOST_ASSERT(exp <= std::numeric_limits<T>::max_exponent10);
- std::cerr << "n *= pow10<T>(exp) -> "
- << n << " *= pow10<T>(" << exp << ") -> "
- << n << " *= " << pow10<T>(exp) << " -> "
- << (n * pow10<T>(exp)) << std::endl;
n *= pow10<T>(exp);
}
else
{
if (exp < std::numeric_limits<T>::min_exponent10)
{
- std::cerr << "n /= pow10<T>(-std::numeric_limits<T>::min_exponent10) -> "
- << n << " /= pow10<T>(" << -std::numeric_limits<T>::min_exponent10 << ") -> "
- << n << " /= " << pow10<T>(-std::numeric_limits<T>::min_exponent10) << " -> "
- << (n / pow10<T>(-std::numeric_limits<T>::min_exponent10)) << std::endl;
n /= pow10<T>(-std::numeric_limits<T>::min_exponent10);
- std::cerr << "n /= pow10<T>(-exp + std::numeric_limits<T>::min_exponent10) -> "
- << n << " /= pow10<T>(" << -exp << " + " << std::numeric_limits<T>::min_exponent10 << ") -> "
- << n << " /= " << pow10<T>(-exp + std::numeric_limits<T>::min_exponent10) << " -> "
- << (n / pow10<T>(-exp + std::numeric_limits<T>::min_exponent10)) << std::endl;
n /= pow10<T>(-exp + std::numeric_limits<T>::min_exponent10);
}
else
{
- std::cerr << "n /= pow10<T>(-exp) -> "
- << n << " /= pow10<T>(" << -exp << ") -> "
- << n << " /= " << pow10<T>(-exp) << " -> "
- << (n / pow10<T>(-exp)) << std::endl;
n /= pow10<T>(-exp);
}
}
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