Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50618 - in trunk/boost/spirit/home/support/detail/math: . detail
From: hartmut.kaiser_at_[hidden]
Date: 2009-01-15 18:36:37


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

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

Modified: trunk/boost/spirit/home/support/detail/math/detail/fp_traits.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/math/detail/fp_traits.hpp (original)
+++ trunk/boost/spirit/home/support/detail/math/detail/fp_traits.hpp 2009-01-15 18:36:36 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: trunk/boost/spirit/home/support/detail/math/fpclassify.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/math/fpclassify.hpp (original)
+++ trunk/boost/spirit/home/support/detail/math/fpclassify.hpp 2009-01-15 18:36:36 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: trunk/boost/spirit/home/support/detail/math/nonfinite_num_facets.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/math/nonfinite_num_facets.hpp (original)
+++ trunk/boost/spirit/home/support/detail/math/nonfinite_num_facets.hpp 2009-01-15 18:36:36 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: trunk/boost/spirit/home/support/detail/math/signbit.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/math/signbit.hpp (original)
+++ trunk/boost/spirit/home/support/detail/math/signbit.hpp 2009-01-15 18:36:36 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