diff --git a/include/boost/math/tools/precision.hpp b/include/boost/math/tools/precision.hpp index 1311e783d..aa9ae9fcd 100644 --- a/include/boost/math/tools/precision.hpp +++ b/include/boost/math/tools/precision.hpp @@ -1,4 +1,4 @@ -// (C) Copyright John Maddock 2005-2006. +// Copyright John Maddock 2005-2006. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -13,7 +13,10 @@ #include #include -namespace boost{ namespace math{ namespace tools{ +namespace boost{ namespace math +{ +namespace tools +{ template int digits(BOOST_EXPLICIT_TEMPLATE_TYPE(T)) diff --git a/include/boost/math/tools/real_cast.hpp b/include/boost/math/tools/real_cast.hpp index 346cbeed1..7334cd460 100644 --- a/include/boost/math/tools/real_cast.hpp +++ b/include/boost/math/tools/real_cast.hpp @@ -1,4 +1,4 @@ -// (C) Copyright John Maddock 2006. +// Copyright John Maddock 2006. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -6,15 +6,16 @@ #ifndef BOOST_MATH_TOOLS_REAL_CAST_HPP #define BOOST_MATH_TOOLS_REAL_CAST_HPP -namespace boost{ namespace math{ namespace tools{ - -template -inline To real_cast(T t) +namespace boost{ namespace math { - return static_cast(t); -} - -} // namespace tools + namespace tools + { + template + inline To real_cast(T t) + { + return static_cast(t); + } + } // namespace tools } // namespace math } // namespace boost