Index: boost/spirit/home/karma/numeric/detail/numeric_utils.hpp =================================================================== --- boost/spirit/home/karma/numeric/detail/numeric_utils.hpp (revision 51288) +++ boost/spirit/home/karma/numeric/detail/numeric_utils.hpp (working copy) @@ -75,17 +75,17 @@ inline float absolute_value (float n) { - return boost::math::signbit(n) ? boost::math::changesign(n) : n; + return boost::spirit::math::signbit(n) ? boost::spirit::math::changesign(n) : n; } inline double absolute_value (double n) { - return boost::math::signbit(n) ? boost::math::changesign(n) : n; + return boost::spirit::math::signbit(n) ? boost::spirit::math::changesign(n) : n; } inline long double absolute_value (long double n) { - return boost::math::signbit(n) ? boost::math::changesign(n) : n; + return boost::spirit::math::signbit(n) ? boost::spirit::math::changesign(n) : n; } template @@ -98,17 +98,17 @@ /////////////////////////////////////////////////////////////////////// inline bool is_negative(float n) { - return boost::math::signbit(n); + return boost::spirit::math::signbit(n); } inline bool is_negative(double n) { - return boost::math::signbit(n); + return boost::spirit::math::signbit(n); } inline bool is_negative(long double n) { - return boost::math::signbit(n); + return boost::spirit::math::signbit(n); } template @@ -120,17 +120,17 @@ /////////////////////////////////////////////////////////////////////// inline bool is_zero(float n) { - return boost::math::fpclassify(n) == FP_ZERO; + return boost::spirit::math::fpclassify(n) == FP_ZERO; } inline bool is_zero(double n) { - return boost::math::fpclassify(n) == FP_ZERO; + return boost::spirit::math::fpclassify(n) == FP_ZERO; } inline bool is_zero(long double n) { - return boost::math::fpclassify(n) == FP_ZERO; + return boost::spirit::math::fpclassify(n) == FP_ZERO; } template @@ -486,7 +486,7 @@ static bool call (OutputIterator& sink, float n, RealPolicies const& p) { - int fpclass = boost::math::fpclassify(n); + int fpclass = boost::spirit::math::fpclassify(n); if (FP_NAN == fpclass) return RealPolicies::template nan(sink, n); else if (FP_INFINITE == fpclass) @@ -498,7 +498,7 @@ static bool call (OutputIterator& sink, double n, RealPolicies const& p) { - int fpclass = boost::math::fpclassify(n); + int fpclass = boost::spirit::math::fpclassify(n); if (FP_NAN == fpclass) return RealPolicies::template nan(sink, n); else if (FP_INFINITE == fpclass) @@ -510,7 +510,7 @@ static bool call (OutputIterator& sink, long double n, RealPolicies const& p) { - int fpclass = boost::math::fpclassify(n); + int fpclass = boost::spirit::math::fpclassify(n); if (FP_NAN == fpclass) return RealPolicies::template nan(sink, n); else if (FP_INFINITE == fpclass) Index: libs/spirit/test/qi/real.cpp =================================================================== --- libs/spirit/test/qi/real.cpp (revision 51288) +++ libs/spirit/test/qi/real.cpp (working copy) @@ -238,8 +238,8 @@ BOOST_TEST(!test("-1.2e", double_)); BOOST_TEST(!test_attr("-1.2e", double_, d)); - using boost::math::fpclassify; - using boost::math::signbit; + using boost::spirit::math::fpclassify; + using boost::spirit::math::signbit; BOOST_TEST(test("-inf", double_)); BOOST_TEST(test("-infinity", double_)); BOOST_TEST(test_attr("-inf", double_, d) &&