Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50617 - in branches/release/boost/spirit/home/support/detail/math: . detail
From: hartmut.kaiser_at_[hidden]
Date: 2009-01-15 18:24:52


Author: hkaiser
Date: 2009-01-15 18:24:51 EST (Thu, 15 Jan 2009)
New Revision: 50617
URL: http://svn.boost.org/trac/boost/changeset/50617

Log:
Spirit: Fixing fp helper classes
Text files modified:
   branches/release/boost/spirit/home/support/detail/math/detail/fp_traits.hpp | 6 ++++--
   branches/release/boost/spirit/home/support/detail/math/fpclassify.hpp | 8 +++++---
   branches/release/boost/spirit/home/support/detail/math/nonfinite_num_facets.hpp | 12 +++++++-----
   branches/release/boost/spirit/home/support/detail/math/signbit.hpp | 8 +++++---
   4 files changed, 21 insertions(+), 13 deletions(-)

Modified: branches/release/boost/spirit/home/support/detail/math/detail/fp_traits.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/detail/math/detail/fp_traits.hpp (original)
+++ branches/release/boost/spirit/home/support/detail/math/detail/fp_traits.hpp 2009-01-15 18:24:51 EST (Thu, 15 Jan 2009)
@@ -1,7 +1,7 @@
 // fp_traits.hpp
 
-#ifndef BOOST_MATH_FP_TRAITS_HPP
-#define BOOST_MATH_FP_TRAITS_HPP
+#ifndef BOOST_SPIRIT_MATH_FP_TRAITS_HPP
+#define BOOST_SPIRIT_MATH_FP_TRAITS_HPP
 
 // Copyright (c) 2006 Johan Rade
 
@@ -24,6 +24,7 @@
 //------------------------------------------------------------------------------
 
 namespace boost {
+namespace spirit {
 namespace math {
 namespace detail {
 
@@ -571,6 +572,7 @@
 
 } // namespace detail
 } // namespace math
+} // namespace spirit
 } // namespace boost
 
 #endif

Modified: branches/release/boost/spirit/home/support/detail/math/fpclassify.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/detail/math/fpclassify.hpp (original)
+++ branches/release/boost/spirit/home/support/detail/math/fpclassify.hpp 2009-01-15 18:24:51 EST (Thu, 15 Jan 2009)
@@ -1,7 +1,7 @@
 // fpclassify.hpp
 
-#ifndef BOOST_MATH_FPCLASSIFY_HPP
-#define BOOST_MATH_FPCLASSIFY_HPP
+#ifndef BOOST_SPIRIT_MATH_FPCLASSIFY_HPP
+#define BOOST_SPIRIT_MATH_FPCLASSIFY_HPP
 
 // Copyright (c) 2006 Johan Rade
 
@@ -48,9 +48,10 @@
 # define FP_ZERO 4
 #endif
 
-#include "detail/fp_traits.hpp"
+#include <boost/spirit/home/support/detail/math/detail/fp_traits.hpp>
 
 namespace boost {
+namespace spirit {
 namespace math {
     
 //------------------------------------------------------------------------------
@@ -224,6 +225,7 @@
 //------------------------------------------------------------------------------
 
 } // namespace math
+} // namespace spirit
 } // namespace boost
 
 #endif

Modified: branches/release/boost/spirit/home/support/detail/math/nonfinite_num_facets.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/detail/math/nonfinite_num_facets.hpp (original)
+++ branches/release/boost/spirit/home/support/detail/math/nonfinite_num_facets.hpp 2009-01-15 18:24:51 EST (Thu, 15 Jan 2009)
@@ -1,5 +1,5 @@
-#ifndef BOOST_MATH_NONFINITE_NUM_FACETS_HPP
-#define BOOST_MATH_NONFINITE_NUM_FACETS_HPP
+#ifndef BOOST_SPIRIT_MATH_NONFINITE_NUM_FACETS_HPP
+#define BOOST_SPIRIT_MATH_NONFINITE_NUM_FACETS_HPP
 
 // Copyright (c) 2006 Johan Rade
 
@@ -11,8 +11,8 @@
 #include <ios>
 #include <limits>
 #include <locale>
-#include "fpclassify.hpp"
-#include "signbit.hpp"
+#include <boost/spirit/home/support/detail/math/fpclassify.hpp>
+#include <boost/spirit/home/support/detail/math/signbit.hpp>
 
 #ifdef _MSC_VER
 # pragma warning(push)
@@ -20,6 +20,7 @@
 #endif
 
 namespace boost {
+namespace spirit {
 namespace math {
 
 
@@ -465,7 +466,8 @@
 
 //------------------------------------------------------------------------------
 
-} // namespace serialization
+} // namespace math
+} // namespace spirit
 } // namespace boost
 
 #ifdef _MSC_VER

Modified: branches/release/boost/spirit/home/support/detail/math/signbit.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/detail/math/signbit.hpp (original)
+++ branches/release/boost/spirit/home/support/detail/math/signbit.hpp 2009-01-15 18:24:51 EST (Thu, 15 Jan 2009)
@@ -1,7 +1,7 @@
 // signbit.hpp
 
-#ifndef BOOST_MATH_SIGNBIT_HPP
-#define BOOST_MATH_SIGNBIT_HPP
+#ifndef BOOST_SPIRIT_MATH_SIGNBIT_HPP
+#define BOOST_SPIRIT_MATH_SIGNBIT_HPP
 
 // Copyright (c) 2006 Johan Rade
 
@@ -9,9 +9,10 @@
 // (See accompanying file LICENSE_1_0.txt
 // or copy at http://www.boost.org/LICENSE_1_0.txt)
 
-#include "detail/fp_traits.hpp"
+#include <boost/spirit/home/support/detail/math/detail/fp_traits.hpp>
 
 namespace boost {
+namespace spirit {
 namespace math {
 
 //------------------------------------------------------------------------------
@@ -81,6 +82,7 @@
 //------------------------------------------------------------------------------
 
 } // namespace math
+} // namespace spirit
 } // namespace boost
 
 #endif


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