|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81558 - trunk/libs/multiprecision/test
From: marshall_at_[hidden]
Date: 2012-11-26 12:20:56
Author: marshall
Date: 2012-11-26 12:20:55 EST (Mon, 26 Nov 2012)
New Revision: 81558
URL: http://svn.boost.org/trac/boost/changeset/81558
Log:
Removed usage of deprecated macros
Text files modified:
trunk/libs/multiprecision/test/test_constexpr.cpp | 2 +-
trunk/libs/multiprecision/test/test_float_io.cpp | 2 +-
trunk/libs/multiprecision/test/test_int_io.cpp | 2 +-
trunk/libs/multiprecision/test/test_move.cpp | 2 +-
trunk/libs/multiprecision/test/test_numeric_limits.cpp | 4 ++--
trunk/libs/multiprecision/test/test_rational_io.cpp | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
Modified: trunk/libs/multiprecision/test/test_constexpr.cpp
==============================================================================
--- trunk/libs/multiprecision/test/test_constexpr.cpp (original)
+++ trunk/libs/multiprecision/test/test_constexpr.cpp 2012-11-26 12:20:55 EST (Mon, 26 Nov 2012)
@@ -5,7 +5,7 @@
#include <boost/multiprecision/cpp_int.hpp>
-#ifndef BOOST_NO_CONSTEXPR
+#ifndef BOOST_NO_CXX11_CONSTEXPR
template <class T>
void silence_unused(const T&){}
Modified: trunk/libs/multiprecision/test/test_float_io.cpp
==============================================================================
--- trunk/libs/multiprecision/test/test_float_io.cpp (original)
+++ trunk/libs/multiprecision/test/test_float_io.cpp 2012-11-26 12:20:55 EST (Mon, 26 Nov 2012)
@@ -243,7 +243,7 @@
void do_round_trip(const T& val, std::ios_base::fmtflags f)
{
std::stringstream ss;
-#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST
+#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
ss << std::setprecision(std::numeric_limits<T>::max_digits10);
#else
ss << std::setprecision(max_digits10_proxy<T>::value);
Modified: trunk/libs/multiprecision/test/test_int_io.cpp
==============================================================================
--- trunk/libs/multiprecision/test/test_int_io.cpp (original)
+++ trunk/libs/multiprecision/test/test_int_io.cpp 2012-11-26 12:20:55 EST (Mon, 26 Nov 2012)
@@ -78,7 +78,7 @@
void do_round_trip(const T& val, std::ios_base::fmtflags f)
{
std::stringstream ss;
-#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST
+#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
ss << std::setprecision(std::numeric_limits<T>::max_digits10);
#else
ss << std::setprecision(std::numeric_limits<T>::digits10 + 5);
Modified: trunk/libs/multiprecision/test/test_move.cpp
==============================================================================
--- trunk/libs/multiprecision/test/test_move.cpp (original)
+++ trunk/libs/multiprecision/test/test_move.cpp 2012-11-26 12:20:55 EST (Mon, 26 Nov 2012)
@@ -11,7 +11,7 @@
#include <boost/config.hpp>
-#ifndef BOOST_NO_RVALUE_REFERENCES
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
#if !defined(TEST_GMP) && !defined(TEST_MPFR) && !defined(TEST_TOMMATH) && !defined(TEST_CPP_INT)
# define TEST_GMP
Modified: trunk/libs/multiprecision/test/test_numeric_limits.cpp
==============================================================================
--- trunk/libs/multiprecision/test/test_numeric_limits.cpp (original)
+++ trunk/libs/multiprecision/test/test_numeric_limits.cpp 2012-11-26 12:20:55 EST (Mon, 26 Nov 2012)
@@ -158,12 +158,12 @@
}
PRINT(max());
PRINT(min());
-#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST
+#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
PRINT(lowest());
#endif
PRINT(digits);
PRINT(digits10);
-#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST
+#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
PRINT(max_digits10);
#endif
PRINT(is_signed);
Modified: trunk/libs/multiprecision/test/test_rational_io.cpp
==============================================================================
--- trunk/libs/multiprecision/test/test_rational_io.cpp (original)
+++ trunk/libs/multiprecision/test/test_rational_io.cpp 2012-11-26 12:20:55 EST (Mon, 26 Nov 2012)
@@ -67,7 +67,7 @@
void do_round_trip(const T& val, std::ios_base::fmtflags f, const boost::mpl::true_&)
{
std::stringstream ss;
-#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST
+#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
ss << std::setprecision(std::numeric_limits<T>::max_digits10);
#else
ss << std::setprecision(std::numeric_limits<T>::digits10 + 5);
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