ndnboost: Also rename BOOST_ to NDNBOOST_
diff --git a/include/ndnboost/math/special_functions/detail/fp_traits.hpp b/include/ndnboost/math/special_functions/detail/fp_traits.hpp
index e1c8d78..eff178a 100644
--- a/include/ndnboost/math/special_functions/detail/fp_traits.hpp
+++ b/include/ndnboost/math/special_functions/detail/fp_traits.hpp
@@ -1,7 +1,7 @@
// fp_traits.hpp
-#ifndef BOOST_MATH_FP_TRAITS_HPP
-#define BOOST_MATH_FP_TRAITS_HPP
+#ifndef NDNBOOST_MATH_FP_TRAITS_HPP
+#define NDNBOOST_MATH_FP_TRAITS_HPP
// Copyright (c) 2006 Johan Rade
@@ -17,7 +17,7 @@
#if defined(__vms) && defined(__DECCXX) && !__IEEE_FLOAT
// The VAX floating point formats are used (for float and double)
-# define BOOST_FPCLASSIFY_VAX_FORMAT
+# define NDNBOOST_FPCLASSIFY_VAX_FORMAT
#endif
#include <cstring>
@@ -28,7 +28,7 @@
#include <ndnboost/static_assert.hpp>
#include <ndnboost/type_traits/is_floating_point.hpp>
-#ifdef BOOST_NO_STDC_NAMESPACE
+#ifdef NDNBOOST_NO_STDC_NAMESPACE
namespace std{ using ::memcpy; }
#endif
@@ -42,7 +42,7 @@
#else
-#define BOOST_HAS_FPCLASSIFY
+#define NDNBOOST_HAS_FPCLASSIFY
#ifndef fpclassify
# if (defined(__GLIBCPP__) || defined(__GLIBCXX__)) \
@@ -51,26 +51,26 @@
&& (_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC != 0))
# ifdef _STLP_VENDOR_CSTD
# if _STLPORT_VERSION >= 0x520
-# define BOOST_FPCLASSIFY_PREFIX ::__std_alias::
+# define NDNBOOST_FPCLASSIFY_PREFIX ::__std_alias::
# else
-# define BOOST_FPCLASSIFY_PREFIX ::_STLP_VENDOR_CSTD::
+# define NDNBOOST_FPCLASSIFY_PREFIX ::_STLP_VENDOR_CSTD::
# endif
# else
-# define BOOST_FPCLASSIFY_PREFIX ::std::
+# define NDNBOOST_FPCLASSIFY_PREFIX ::std::
# endif
# else
-# undef BOOST_HAS_FPCLASSIFY
-# define BOOST_FPCLASSIFY_PREFIX
+# undef NDNBOOST_HAS_FPCLASSIFY
+# define NDNBOOST_FPCLASSIFY_PREFIX
# endif
#elif (defined(__HP_aCC) && !defined(__hppa))
// aCC 6 appears to do "#define fpclassify fpclassify" which messes us up a bit!
-# define BOOST_FPCLASSIFY_PREFIX ::
+# define NDNBOOST_FPCLASSIFY_PREFIX ::
#else
-# define BOOST_FPCLASSIFY_PREFIX
+# define NDNBOOST_FPCLASSIFY_PREFIX
#endif
#ifdef __MINGW32__
-# undef BOOST_HAS_FPCLASSIFY
+# undef NDNBOOST_HAS_FPCLASSIFY
#endif
#endif
@@ -96,7 +96,7 @@
struct ieee_copy_all_bits_tag : public ieee_tag {};
struct ieee_copy_leading_bits_tag : public ieee_tag {};
-#ifdef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
+#ifdef NDNBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
//
// These helper functions are used only when numeric_limits<>
// members are not compile time constants:
@@ -138,7 +138,7 @@
template<class T, class U> struct fp_traits_non_native
{
-#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
+#ifndef NDNBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
typedef generic_tag<std::numeric_limits<T>::is_specialized> method;
#else
typedef generic_tag<false> method;
@@ -172,16 +172,16 @@
// ieee_tag version, float (32 bits) -----------------------------------------------
-#ifndef BOOST_FPCLASSIFY_VAX_FORMAT
+#ifndef NDNBOOST_FPCLASSIFY_VAX_FORMAT
template<> struct fp_traits_non_native<float, single_precision>
{
typedef ieee_copy_all_bits_tag method;
- BOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
- BOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7f800000);
- BOOST_STATIC_CONSTANT(uint32_t, flag = 0x00000000);
- BOOST_STATIC_CONSTANT(uint32_t, significand = 0x007fffff);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7f800000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, flag = 0x00000000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, significand = 0x007fffff);
typedef uint32_t bits;
static void get_bits(float x, uint32_t& a) { std::memcpy(&a, &x, 4); }
@@ -190,17 +190,17 @@
// ieee_tag version, double (64 bits) ----------------------------------------------
-#if defined(BOOST_NO_INT64_T) || defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION) \
+#if defined(NDNBOOST_NO_INT64_T) || defined(NDNBOOST_NO_INCLASS_MEMBER_INITIALIZATION) \
|| defined(__BORLANDC__) || defined(__CODEGEAR__)
template<> struct fp_traits_non_native<double, double_precision>
{
typedef ieee_copy_leading_bits_tag method;
- BOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
- BOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7ff00000);
- BOOST_STATIC_CONSTANT(uint32_t, flag = 0);
- BOOST_STATIC_CONSTANT(uint32_t, significand = 0x000fffff);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7ff00000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, flag = 0);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, significand = 0x000fffff);
typedef uint32_t bits;
@@ -216,12 +216,12 @@
private:
-#if defined(BOOST_BIG_ENDIAN)
- BOOST_STATIC_CONSTANT(int, offset_ = 0);
-#elif defined(BOOST_LITTLE_ENDIAN)
- BOOST_STATIC_CONSTANT(int, offset_ = 4);
+#if defined(NDNBOOST_BIG_ENDIAN)
+ NDNBOOST_STATIC_CONSTANT(int, offset_ = 0);
+#elif defined(NDNBOOST_LITTLE_ENDIAN)
+ NDNBOOST_STATIC_CONSTANT(int, offset_ = 4);
#else
- BOOST_STATIC_ASSERT(false);
+ NDNBOOST_STATIC_ASSERT(false);
#endif
};
@@ -246,21 +246,21 @@
#endif
-#endif // #ifndef BOOST_FPCLASSIFY_VAX_FORMAT
+#endif // #ifndef NDNBOOST_FPCLASSIFY_VAX_FORMAT
// long double (64 bits) -------------------------------------------------------
-#if defined(BOOST_NO_INT64_T) || defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION)\
+#if defined(NDNBOOST_NO_INT64_T) || defined(NDNBOOST_NO_INCLASS_MEMBER_INITIALIZATION)\
|| defined(__BORLANDC__) || defined(__CODEGEAR__)
template<> struct fp_traits_non_native<long double, double_precision>
{
typedef ieee_copy_leading_bits_tag method;
- BOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
- BOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7ff00000);
- BOOST_STATIC_CONSTANT(uint32_t, flag = 0);
- BOOST_STATIC_CONSTANT(uint32_t, significand = 0x000fffff);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7ff00000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, flag = 0);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, significand = 0x000fffff);
typedef uint32_t bits;
@@ -276,12 +276,12 @@
private:
-#if defined(BOOST_BIG_ENDIAN)
- BOOST_STATIC_CONSTANT(int, offset_ = 0);
-#elif defined(BOOST_LITTLE_ENDIAN)
- BOOST_STATIC_CONSTANT(int, offset_ = 4);
+#if defined(NDNBOOST_BIG_ENDIAN)
+ NDNBOOST_STATIC_CONSTANT(int, offset_ = 0);
+#elif defined(NDNBOOST_LITTLE_ENDIAN)
+ NDNBOOST_STATIC_CONSTANT(int, offset_ = 4);
#else
- BOOST_STATIC_ASSERT(false);
+ NDNBOOST_STATIC_ASSERT(false);
#endif
};
@@ -320,10 +320,10 @@
{
typedef ieee_copy_leading_bits_tag method;
- BOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
- BOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7fff0000);
- BOOST_STATIC_CONSTANT(uint32_t, flag = 0x00008000);
- BOOST_STATIC_CONSTANT(uint32_t, significand = 0x00007fff);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7fff0000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, flag = 0x00008000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, significand = 0x00007fff);
typedef uint32_t bits;
@@ -364,10 +364,10 @@
{
typedef ieee_copy_leading_bits_tag method;
- BOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
- BOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7ff00000);
- BOOST_STATIC_CONSTANT(uint32_t, flag = 0x00000000);
- BOOST_STATIC_CONSTANT(uint32_t, significand = 0x000fffff);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7ff00000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, flag = 0x00000000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, significand = 0x000fffff);
typedef uint32_t bits;
@@ -383,12 +383,12 @@
private:
-#if defined(BOOST_BIG_ENDIAN)
- BOOST_STATIC_CONSTANT(int, offset_ = 0);
-#elif defined(BOOST_LITTLE_ENDIAN)
- BOOST_STATIC_CONSTANT(int, offset_ = 12);
+#if defined(NDNBOOST_BIG_ENDIAN)
+ NDNBOOST_STATIC_CONSTANT(int, offset_ = 0);
+#elif defined(NDNBOOST_LITTLE_ENDIAN)
+ NDNBOOST_STATIC_CONSTANT(int, offset_ = 12);
#else
- BOOST_STATIC_ASSERT(false);
+ NDNBOOST_STATIC_ASSERT(false);
#endif
};
@@ -409,10 +409,10 @@
{
typedef ieee_copy_leading_bits_tag method;
- BOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
- BOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7fff0000);
- BOOST_STATIC_CONSTANT(uint32_t, flag = 0x00008000);
- BOOST_STATIC_CONSTANT(uint32_t, significand = 0x00007fff);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7fff0000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, flag = 0x00008000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, significand = 0x00007fff);
// copy 1st, 2nd, 5th and 6th byte. 3rd and 4th byte are padding.
@@ -445,10 +445,10 @@
{
typedef ieee_copy_leading_bits_tag method;
- BOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
- BOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7fff0000);
- BOOST_STATIC_CONSTANT(uint32_t, flag = 0x00000000);
- BOOST_STATIC_CONSTANT(uint32_t, significand = 0x0000ffff);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, sign = 0x80000000u);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, exponent = 0x7fff0000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, flag = 0x00000000);
+ NDNBOOST_STATIC_CONSTANT(uint32_t, significand = 0x0000ffff);
typedef uint32_t bits;
@@ -464,12 +464,12 @@
private:
-#if defined(BOOST_BIG_ENDIAN)
- BOOST_STATIC_CONSTANT(int, offset_ = 0);
-#elif defined(BOOST_LITTLE_ENDIAN)
- BOOST_STATIC_CONSTANT(int, offset_ = 12);
+#if defined(NDNBOOST_BIG_ENDIAN)
+ NDNBOOST_STATIC_CONSTANT(int, offset_ = 0);
+#elif defined(NDNBOOST_LITTLE_ENDIAN)
+ NDNBOOST_STATIC_CONSTANT(int, offset_ = 12);
#else
- BOOST_STATIC_ASSERT(false);
+ NDNBOOST_STATIC_ASSERT(false);
#endif
};
@@ -518,7 +518,7 @@
template <class T>
struct select_native
{
- typedef BOOST_DEDUCED_TYPENAME size_to_precision<sizeof(T), ::ndnboost::is_floating_point<T>::value>::type precision;
+ typedef NDNBOOST_DEDUCED_TYPENAME size_to_precision<sizeof(T), ::ndnboost::is_floating_point<T>::value>::type precision;
typedef fp_traits_non_native<T, precision> type;
};
template<>
@@ -541,19 +541,19 @@
// fp_traits is a type switch that selects the right fp_traits_non_native
-#if (defined(BOOST_MATH_USE_C99) && !(defined(__GNUC__) && (__GNUC__ < 4))) \
+#if (defined(NDNBOOST_MATH_USE_C99) && !(defined(__GNUC__) && (__GNUC__ < 4))) \
&& !defined(__hpux) \
&& !defined(__DECCXX)\
&& !defined(__osf__) \
&& !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)\
- && !defined(BOOST_MATH_DISABLE_STD_FPCLASSIFY)
-# define BOOST_MATH_USE_STD_FPCLASSIFY
+ && !defined(NDNBOOST_MATH_DISABLE_STD_FPCLASSIFY)
+# define NDNBOOST_MATH_USE_STD_FPCLASSIFY
#endif
template<class T> struct fp_traits
{
- typedef BOOST_DEDUCED_TYPENAME size_to_precision<sizeof(T), ::ndnboost::is_floating_point<T>::value>::type precision;
-#if defined(BOOST_MATH_USE_STD_FPCLASSIFY) && !defined(BOOST_MATH_DISABLE_STD_FPCLASSIFY)
+ typedef NDNBOOST_DEDUCED_TYPENAME size_to_precision<sizeof(T), ::ndnboost::is_floating_point<T>::value>::type precision;
+#if defined(NDNBOOST_MATH_USE_STD_FPCLASSIFY) && !defined(NDNBOOST_MATH_DISABLE_STD_FPCLASSIFY)
typedef typename select_native<T>::type type;
#else
typedef fp_traits_non_native<T, precision> type;
diff --git a/include/ndnboost/math/special_functions/detail/round_fwd.hpp b/include/ndnboost/math/special_functions/detail/round_fwd.hpp
index 62d9390..80518c7 100644
--- a/include/ndnboost/math/special_functions/detail/round_fwd.hpp
+++ b/include/ndnboost/math/special_functions/detail/round_fwd.hpp
@@ -5,8 +5,8 @@
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
-#ifndef BOOST_MATH_SPECIAL_ROUND_FWD_HPP
-#define BOOST_MATH_SPECIAL_ROUND_FWD_HPP
+#ifndef NDNBOOST_MATH_SPECIAL_ROUND_FWD_HPP
+#define NDNBOOST_MATH_SPECIAL_ROUND_FWD_HPP
#include <ndnboost/config.hpp>
#include <ndnboost/math/tools/promotion.hpp>
@@ -32,7 +32,7 @@
long ltrunc(const T& v, const Policy& pol);
template <class T>
long ltrunc(const T& v);
-#ifdef BOOST_HAS_LONG_LONG
+#ifdef NDNBOOST_HAS_LONG_LONG
template <class T, class Policy>
ndnboost::long_long_type lltrunc(const T& v, const Policy& pol);
template <class T>
@@ -50,7 +50,7 @@
long lround(const T& v, const Policy& pol);
template <class T>
long lround(const T& v);
-#ifdef BOOST_HAS_LONG_LONG
+#ifdef NDNBOOST_HAS_LONG_LONG
template <class T, class Policy>
ndnboost::long_long_type llround(const T& v, const Policy& pol);
template <class T>
@@ -68,7 +68,7 @@
T modf(const T& v, long* ipart, const Policy& pol);
template <class T>
T modf(const T& v, long* ipart);
-#ifdef BOOST_HAS_LONG_LONG
+#ifdef NDNBOOST_HAS_LONG_LONG
template <class T, class Policy>
T modf(const T& v, ndnboost::long_long_type* ipart, const Policy& pol);
template <class T>
@@ -78,8 +78,8 @@
}
}
-#undef BOOST_MATH_STD_USING
-#define BOOST_MATH_STD_USING BOOST_MATH_STD_USING_CORE\
+#undef NDNBOOST_MATH_STD_USING
+#define NDNBOOST_MATH_STD_USING NDNBOOST_MATH_STD_USING_CORE\
using ndnboost::math::round;\
using ndnboost::math::iround;\
using ndnboost::math::lround;\
@@ -89,5 +89,5 @@
using ndnboost::math::modf;
-#endif // BOOST_MATH_SPECIAL_ROUND_FWD_HPP
+#endif // NDNBOOST_MATH_SPECIAL_ROUND_FWD_HPP
diff --git a/include/ndnboost/math/special_functions/fpclassify.hpp b/include/ndnboost/math/special_functions/fpclassify.hpp
index 0eeea57..7b4b193 100644
--- a/include/ndnboost/math/special_functions/fpclassify.hpp
+++ b/include/ndnboost/math/special_functions/fpclassify.hpp
@@ -4,8 +4,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-#ifndef BOOST_MATH_FPCLASSIFY_HPP
-#define BOOST_MATH_FPCLASSIFY_HPP
+#ifndef NDNBOOST_MATH_FPCLASSIFY_HPP
+#define NDNBOOST_MATH_FPCLASSIFY_HPP
#ifdef _MSC_VER
#pragma once
@@ -81,7 +81,7 @@
#include <float.h>
#endif
-#ifdef BOOST_NO_STDC_NAMESPACE
+#ifdef NDNBOOST_NO_STDC_NAMESPACE
namespace std{ using ::abs; using ::fabs; }
#endif
@@ -94,7 +94,7 @@
//
namespace math_detail{
-#ifdef BOOST_MSVC
+#ifdef NDNBOOST_MSVC
#pragma warning(push)
#pragma warning(disable:4800)
#endif
@@ -104,15 +104,15 @@
{
#ifdef isnan
return isnan(t);
-#elif defined(BOOST_MATH_DISABLE_STD_FPCLASSIFY) || !defined(BOOST_HAS_FPCLASSIFY)
+#elif defined(NDNBOOST_MATH_DISABLE_STD_FPCLASSIFY) || !defined(NDNBOOST_HAS_FPCLASSIFY)
(void)t;
return false;
-#else // BOOST_HAS_FPCLASSIFY
- return (BOOST_FPCLASSIFY_PREFIX fpclassify(t) == (int)FP_NAN);
+#else // NDNBOOST_HAS_FPCLASSIFY
+ return (NDNBOOST_FPCLASSIFY_PREFIX fpclassify(t) == (int)FP_NAN);
#endif
}
-#ifdef BOOST_MSVC
+#ifdef NDNBOOST_MSVC
#pragma warning(pop)
#endif
@@ -128,21 +128,21 @@
namespace detail{
-#ifdef BOOST_MATH_USE_STD_FPCLASSIFY
+#ifdef NDNBOOST_MATH_USE_STD_FPCLASSIFY
template <class T>
-inline int fpclassify_imp BOOST_NO_MACRO_EXPAND(T t, const native_tag&)
+inline int fpclassify_imp NDNBOOST_NO_MACRO_EXPAND(T t, const native_tag&)
{
return (std::fpclassify)(t);
}
#endif
template <class T>
-inline int fpclassify_imp BOOST_NO_MACRO_EXPAND(T t, const generic_tag<true>&)
+inline int fpclassify_imp NDNBOOST_NO_MACRO_EXPAND(T t, const generic_tag<true>&)
{
- BOOST_MATH_INSTRUMENT_VARIABLE(t);
+ NDNBOOST_MATH_INSTRUMENT_VARIABLE(t);
// whenever possible check for Nan's first:
-#if defined(BOOST_HAS_FPCLASSIFY) && !defined(BOOST_MATH_DISABLE_STD_FPCLASSIFY)
+#if defined(NDNBOOST_HAS_FPCLASSIFY) && !defined(NDNBOOST_MATH_DISABLE_STD_FPCLASSIFY)
if(::ndnboost::math_detail::is_nan_helper(t, ::ndnboost::is_floating_point<T>()))
return FP_NAN;
#elif defined(isnan)
@@ -173,9 +173,9 @@
}
template <class T>
-inline int fpclassify_imp BOOST_NO_MACRO_EXPAND(T t, const generic_tag<false>&)
+inline int fpclassify_imp NDNBOOST_NO_MACRO_EXPAND(T t, const generic_tag<false>&)
{
-#ifdef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
+#ifdef NDNBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
if(std::numeric_limits<T>::is_specialized)
return fpclassify_imp(t, generic_tag<true>());
#endif
@@ -183,24 +183,24 @@
// An unknown type with no numeric_limits support,
// so what are we supposed to do we do here?
//
- BOOST_MATH_INSTRUMENT_VARIABLE(t);
+ NDNBOOST_MATH_INSTRUMENT_VARIABLE(t);
return t == 0 ? FP_ZERO : FP_NORMAL;
}
template<class T>
-int fpclassify_imp BOOST_NO_MACRO_EXPAND(T x, ieee_copy_all_bits_tag)
+int fpclassify_imp NDNBOOST_NO_MACRO_EXPAND(T x, ieee_copy_all_bits_tag)
{
- typedef BOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
+ typedef NDNBOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
- BOOST_MATH_INSTRUMENT_VARIABLE(x);
+ NDNBOOST_MATH_INSTRUMENT_VARIABLE(x);
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
- BOOST_MATH_INSTRUMENT_VARIABLE(a);
+ NDNBOOST_MATH_INSTRUMENT_VARIABLE(a);
a &= traits::exponent | traits::flag | traits::significand;
- BOOST_MATH_INSTRUMENT_VARIABLE((traits::exponent | traits::flag | traits::significand));
- BOOST_MATH_INSTRUMENT_VARIABLE(a);
+ NDNBOOST_MATH_INSTRUMENT_VARIABLE((traits::exponent | traits::flag | traits::significand));
+ NDNBOOST_MATH_INSTRUMENT_VARIABLE(a);
if(a <= traits::significand) {
if(a == 0)
@@ -218,13 +218,13 @@
}
template<class T>
-int fpclassify_imp BOOST_NO_MACRO_EXPAND(T x, ieee_copy_leading_bits_tag)
+int fpclassify_imp NDNBOOST_NO_MACRO_EXPAND(T x, ieee_copy_leading_bits_tag)
{
- typedef BOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
+ typedef NDNBOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
- BOOST_MATH_INSTRUMENT_VARIABLE(x);
+ NDNBOOST_MATH_INSTRUMENT_VARIABLE(x);
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
a &= traits::exponent | traits::flag | traits::significand;
@@ -244,8 +244,8 @@
return FP_NAN;
}
-#if defined(BOOST_MATH_USE_STD_FPCLASSIFY) && (defined(BOOST_MATH_NO_NATIVE_LONG_DOUBLE_FP_CLASSIFY) || defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS))
-inline int fpclassify_imp BOOST_NO_MACRO_EXPAND(long double t, const native_tag&)
+#if defined(NDNBOOST_MATH_USE_STD_FPCLASSIFY) && (defined(NDNBOOST_MATH_NO_NATIVE_LONG_DOUBLE_FP_CLASSIFY) || defined(NDNBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS))
+inline int fpclassify_imp NDNBOOST_NO_MACRO_EXPAND(long double t, const native_tag&)
{
return ndnboost::math::detail::fpclassify_imp(t, generic_tag<true>());
}
@@ -254,12 +254,12 @@
} // namespace detail
template <class T>
-inline int fpclassify BOOST_NO_MACRO_EXPAND(T t)
+inline int fpclassify NDNBOOST_NO_MACRO_EXPAND(T t)
{
typedef typename detail::fp_traits<T>::type traits;
typedef typename traits::method method;
typedef typename tools::promote_args<T>::type value_type;
-#ifdef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
+#ifdef NDNBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
if(std::numeric_limits<T>::is_specialized && detail::is_generic_tag_false(static_cast<method*>(0)))
return detail::fpclassify_imp(static_cast<value_type>(t), detail::generic_tag<true>());
return detail::fpclassify_imp(static_cast<value_type>(t), method());
@@ -268,14 +268,14 @@
#endif
}
-#ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+#ifdef NDNBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
template <>
-inline int fpclassify<long double> BOOST_NO_MACRO_EXPAND(long double t)
+inline int fpclassify<long double> NDNBOOST_NO_MACRO_EXPAND(long double t)
{
typedef detail::fp_traits<long double>::type traits;
typedef traits::method method;
typedef long double value_type;
-#ifdef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
+#ifdef NDNBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
if(std::numeric_limits<long double>::is_specialized && detail::is_generic_tag_false(static_cast<method*>(0)))
return detail::fpclassify_imp(static_cast<value_type>(t), detail::generic_tag<true>());
return detail::fpclassify_imp(static_cast<value_type>(t), method());
@@ -287,7 +287,7 @@
namespace detail {
-#ifdef BOOST_MATH_USE_STD_FPCLASSIFY
+#ifdef NDNBOOST_MATH_USE_STD_FPCLASSIFY
template<class T>
inline bool isfinite_impl(T x, native_tag const&)
{
@@ -305,7 +305,7 @@
template<class T>
inline bool isfinite_impl(T x, generic_tag<false> const&)
{
-#ifdef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
+#ifdef NDNBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
if(std::numeric_limits<T>::is_specialized)
return isfinite_impl(x, generic_tag<true>());
#endif
@@ -316,15 +316,15 @@
template<class T>
inline bool isfinite_impl(T x, ieee_tag const&)
{
- typedef BOOST_DEDUCED_TYPENAME detail::fp_traits<T>::type traits;
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ typedef NDNBOOST_DEDUCED_TYPENAME detail::fp_traits<T>::type traits;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
a &= traits::exponent;
return a != traits::exponent;
}
-#if defined(BOOST_MATH_USE_STD_FPCLASSIFY) && defined(BOOST_MATH_NO_NATIVE_LONG_DOUBLE_FP_CLASSIFY)
-inline bool isfinite_impl BOOST_NO_MACRO_EXPAND(long double t, const native_tag&)
+#if defined(NDNBOOST_MATH_USE_STD_FPCLASSIFY) && defined(NDNBOOST_MATH_NO_NATIVE_LONG_DOUBLE_FP_CLASSIFY)
+inline bool isfinite_impl NDNBOOST_NO_MACRO_EXPAND(long double t, const native_tag&)
{
return ndnboost::math::detail::isfinite_impl(t, generic_tag<true>());
}
@@ -342,7 +342,7 @@
return detail::isfinite_impl(static_cast<value_type>(x), method());
}
-#ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+#ifdef NDNBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
template<>
inline bool (isfinite)(long double x)
{ //!< \brief return true if floating-point type t is finite.
@@ -358,7 +358,7 @@
namespace detail {
-#ifdef BOOST_MATH_USE_STD_FPCLASSIFY
+#ifdef NDNBOOST_MATH_USE_STD_FPCLASSIFY
template<class T>
inline bool isnormal_impl(T x, native_tag const&)
{
@@ -377,7 +377,7 @@
template<class T>
inline bool isnormal_impl(T x, generic_tag<false> const&)
{
-#ifdef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
+#ifdef NDNBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
if(std::numeric_limits<T>::is_specialized)
return isnormal_impl(x, generic_tag<true>());
#endif
@@ -387,15 +387,15 @@
template<class T>
inline bool isnormal_impl(T x, ieee_tag const&)
{
- typedef BOOST_DEDUCED_TYPENAME detail::fp_traits<T>::type traits;
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ typedef NDNBOOST_DEDUCED_TYPENAME detail::fp_traits<T>::type traits;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
a &= traits::exponent | traits::flag;
return (a != 0) && (a < traits::exponent);
}
-#if defined(BOOST_MATH_USE_STD_FPCLASSIFY) && defined(BOOST_MATH_NO_NATIVE_LONG_DOUBLE_FP_CLASSIFY)
-inline bool isnormal_impl BOOST_NO_MACRO_EXPAND(long double t, const native_tag&)
+#if defined(NDNBOOST_MATH_USE_STD_FPCLASSIFY) && defined(NDNBOOST_MATH_NO_NATIVE_LONG_DOUBLE_FP_CLASSIFY)
+inline bool isnormal_impl NDNBOOST_NO_MACRO_EXPAND(long double t, const native_tag&)
{
return ndnboost::math::detail::isnormal_impl(t, generic_tag<true>());
}
@@ -413,7 +413,7 @@
return detail::isnormal_impl(static_cast<value_type>(x), method());
}
-#ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+#ifdef NDNBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
template<>
inline bool (isnormal)(long double x)
{
@@ -429,7 +429,7 @@
namespace detail {
-#ifdef BOOST_MATH_USE_STD_FPCLASSIFY
+#ifdef NDNBOOST_MATH_USE_STD_FPCLASSIFY
template<class T>
inline bool isinf_impl(T x, native_tag const&)
{
@@ -449,7 +449,7 @@
template<class T>
inline bool isinf_impl(T x, generic_tag<false> const&)
{
-#ifdef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
+#ifdef NDNBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
if(std::numeric_limits<T>::is_specialized)
return isinf_impl(x, generic_tag<true>());
#endif
@@ -460,9 +460,9 @@
template<class T>
inline bool isinf_impl(T x, ieee_copy_all_bits_tag const&)
{
- typedef BOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
+ typedef NDNBOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
a &= traits::exponent | traits::significand;
return a == traits::exponent;
@@ -471,9 +471,9 @@
template<class T>
inline bool isinf_impl(T x, ieee_copy_leading_bits_tag const&)
{
- typedef BOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
+ typedef NDNBOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
a &= traits::exponent | traits::significand;
if(a != traits::exponent)
@@ -483,8 +483,8 @@
return x == 0;
}
-#if defined(BOOST_MATH_USE_STD_FPCLASSIFY) && defined(BOOST_MATH_NO_NATIVE_LONG_DOUBLE_FP_CLASSIFY)
-inline bool isinf_impl BOOST_NO_MACRO_EXPAND(long double t, const native_tag&)
+#if defined(NDNBOOST_MATH_USE_STD_FPCLASSIFY) && defined(NDNBOOST_MATH_NO_NATIVE_LONG_DOUBLE_FP_CLASSIFY)
+inline bool isinf_impl NDNBOOST_NO_MACRO_EXPAND(long double t, const native_tag&)
{
return ndnboost::math::detail::isinf_impl(t, generic_tag<true>());
}
@@ -502,7 +502,7 @@
return detail::isinf_impl(static_cast<value_type>(x), method());
}
-#ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+#ifdef NDNBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
template<>
inline bool (isinf)(long double x)
{
@@ -518,7 +518,7 @@
namespace detail {
-#ifdef BOOST_MATH_USE_STD_FPCLASSIFY
+#ifdef NDNBOOST_MATH_USE_STD_FPCLASSIFY
template<class T>
inline bool isnan_impl(T x, native_tag const&)
{
@@ -537,7 +537,7 @@
template<class T>
inline bool isnan_impl(T x, generic_tag<false> const&)
{
-#ifdef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
+#ifdef NDNBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
if(std::numeric_limits<T>::is_specialized)
return isnan_impl(x, generic_tag<true>());
#endif
@@ -548,9 +548,9 @@
template<class T>
inline bool isnan_impl(T x, ieee_copy_all_bits_tag const&)
{
- typedef BOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
+ typedef NDNBOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
a &= traits::exponent | traits::significand;
return a > traits::exponent;
@@ -559,9 +559,9 @@
template<class T>
inline bool isnan_impl(T x, ieee_copy_leading_bits_tag const&)
{
- typedef BOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
+ typedef NDNBOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
a &= traits::exponent | traits::significand;
@@ -585,10 +585,10 @@
}
#ifdef isnan
-template <> inline bool isnan BOOST_NO_MACRO_EXPAND<float>(float t){ return ::ndnboost::math_detail::is_nan_helper(t, ndnboost::true_type()); }
-template <> inline bool isnan BOOST_NO_MACRO_EXPAND<double>(double t){ return ::ndnboost::math_detail::is_nan_helper(t, ndnboost::true_type()); }
-template <> inline bool isnan BOOST_NO_MACRO_EXPAND<long double>(long double t){ return ::ndnboost::math_detail::is_nan_helper(t, ndnboost::true_type()); }
-#elif defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
+template <> inline bool isnan NDNBOOST_NO_MACRO_EXPAND<float>(float t){ return ::ndnboost::math_detail::is_nan_helper(t, ndnboost::true_type()); }
+template <> inline bool isnan NDNBOOST_NO_MACRO_EXPAND<double>(double t){ return ::ndnboost::math_detail::is_nan_helper(t, ndnboost::true_type()); }
+template <> inline bool isnan NDNBOOST_NO_MACRO_EXPAND<long double>(long double t){ return ::ndnboost::math_detail::is_nan_helper(t, ndnboost::true_type()); }
+#elif defined(NDNBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
template<>
inline bool (isnan)(long double x)
{ //!< \brief return true if floating-point type t is NaN (Not A Number).
@@ -602,5 +602,5 @@
} // namespace math
} // namespace ndnboost
-#endif // BOOST_MATH_FPCLASSIFY_HPP
+#endif // NDNBOOST_MATH_FPCLASSIFY_HPP
diff --git a/include/ndnboost/math/special_functions/math_fwd.hpp b/include/ndnboost/math/special_functions/math_fwd.hpp
index aeb7b4c..d4e1867 100644
--- a/include/ndnboost/math/special_functions/math_fwd.hpp
+++ b/include/ndnboost/math/special_functions/math_fwd.hpp
@@ -16,8 +16,8 @@
// RT = Real type (built-in floating-point types, float, double, long double) & User Defined Types
// AT = Integer or Real type
-#ifndef BOOST_MATH_SPECIAL_MATH_FWD_HPP
-#define BOOST_MATH_SPECIAL_MATH_FWD_HPP
+#ifndef NDNBOOST_MATH_SPECIAL_MATH_FWD_HPP
+#define NDNBOOST_MATH_SPECIAL_MATH_FWD_HPP
#ifdef _MSC_VER
#pragma once
@@ -29,7 +29,7 @@
#include <ndnboost/mpl/comparison.hpp>
#include <ndnboost/config/no_tr1/complex.hpp>
-#define BOOST_NO_MACRO_EXPAND /**/
+#define NDNBOOST_NO_MACRO_EXPAND /**/
namespace ndnboost
{
@@ -349,7 +349,7 @@
template <class RT, class Policy>
RT factorial(unsigned int, const Policy& pol);
template <class RT>
- RT unchecked_factorial(unsigned int BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(RT));
+ RT unchecked_factorial(unsigned int NDNBOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(RT));
template <class RT>
RT double_factorial(unsigned i);
template <class RT, class Policy>
@@ -747,31 +747,31 @@
typename tools::promote_args<T>::type cos_pi(T x);
template <class T>
- int fpclassify BOOST_NO_MACRO_EXPAND(T t);
+ int fpclassify NDNBOOST_NO_MACRO_EXPAND(T t);
template <class T>
- bool isfinite BOOST_NO_MACRO_EXPAND(T z);
+ bool isfinite NDNBOOST_NO_MACRO_EXPAND(T z);
template <class T>
- bool isinf BOOST_NO_MACRO_EXPAND(T t);
+ bool isinf NDNBOOST_NO_MACRO_EXPAND(T t);
template <class T>
- bool isnan BOOST_NO_MACRO_EXPAND(T t);
+ bool isnan NDNBOOST_NO_MACRO_EXPAND(T t);
template <class T>
- bool isnormal BOOST_NO_MACRO_EXPAND(T t);
+ bool isnormal NDNBOOST_NO_MACRO_EXPAND(T t);
template<class T>
- int signbit BOOST_NO_MACRO_EXPAND(T x);
+ int signbit NDNBOOST_NO_MACRO_EXPAND(T x);
template <class T>
- int sign BOOST_NO_MACRO_EXPAND(const T& z);
+ int sign NDNBOOST_NO_MACRO_EXPAND(const T& z);
template <class T, class U>
- typename tools::promote_args<T, U>::type copysign BOOST_NO_MACRO_EXPAND(const T& x, const U& y);
+ typename tools::promote_args<T, U>::type copysign NDNBOOST_NO_MACRO_EXPAND(const T& x, const U& y);
template <class T>
- typename tools::promote_args<T>::type changesign BOOST_NO_MACRO_EXPAND(const T& z);
+ typename tools::promote_args<T>::type changesign NDNBOOST_NO_MACRO_EXPAND(const T& z);
// Exponential integrals:
namespace detail{
@@ -923,8 +923,8 @@
} // namespace math
} // namespace ndnboost
-#ifdef BOOST_HAS_LONG_LONG
-#define BOOST_MATH_DETAIL_LL_FUNC(Policy)\
+#ifdef NDNBOOST_HAS_LONG_LONG
+#define NDNBOOST_MATH_DETAIL_LL_FUNC(Policy)\
\
template <class T>\
inline T modf(const T& v, ndnboost::long_long_type* ipart){ using ndnboost::math::modf; return modf(v, ipart, Policy()); }\
@@ -936,12 +936,12 @@
inline ndnboost::long_long_type llround(const T& v){ using ndnboost::math::llround; return llround(v, Policy()); }\
#else
-#define BOOST_MATH_DETAIL_LL_FUNC(Policy)
+#define NDNBOOST_MATH_DETAIL_LL_FUNC(Policy)
#endif
-#define BOOST_MATH_DECLARE_SPECIAL_FUNCTIONS(Policy)\
+#define NDNBOOST_MATH_DECLARE_SPECIAL_FUNCTIONS(Policy)\
\
- BOOST_MATH_DETAIL_LL_FUNC(Policy)\
+ NDNBOOST_MATH_DETAIL_LL_FUNC(Policy)\
\
template <class RT1, class RT2>\
inline typename ndnboost::math::tools::promote_args<RT1, RT2>::type \
@@ -1403,6 +1403,6 @@
-#endif // BOOST_MATH_SPECIAL_MATH_FWD_HPP
+#endif // NDNBOOST_MATH_SPECIAL_MATH_FWD_HPP
diff --git a/include/ndnboost/math/special_functions/sign.hpp b/include/ndnboost/math/special_functions/sign.hpp
index fecacfb..e0fbd9e 100644
--- a/include/ndnboost/math/special_functions/sign.hpp
+++ b/include/ndnboost/math/special_functions/sign.hpp
@@ -6,8 +6,8 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-#ifndef BOOST_MATH_TOOLS_SIGN_HPP
-#define BOOST_MATH_TOOLS_SIGN_HPP
+#ifndef NDNBOOST_MATH_TOOLS_SIGN_HPP
+#define NDNBOOST_MATH_TOOLS_SIGN_HPP
#ifdef _MSC_VER
#pragma once
@@ -23,7 +23,7 @@
// signbit
-#ifdef BOOST_MATH_USE_STD_FPCLASSIFY
+#ifdef NDNBOOST_MATH_USE_STD_FPCLASSIFY
template<class T>
inline int signbit_impl(T x, native_tag const&)
{
@@ -46,9 +46,9 @@
template<class T>
inline int signbit_impl(T x, ieee_copy_all_bits_tag const&)
{
- typedef BOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
+ typedef NDNBOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
return a & traits::sign ? 1 : 0;
}
@@ -56,9 +56,9 @@
template<class T>
inline int signbit_impl(T x, ieee_copy_leading_bits_tag const&)
{
- typedef BOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
+ typedef NDNBOOST_DEDUCED_TYPENAME fp_traits<T>::type traits;
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
return a & traits::sign ? 1 : 0;
@@ -82,9 +82,9 @@
template<class T>
inline T changesign_impl(T x, ieee_copy_all_bits_tag const&)
{
- typedef BOOST_DEDUCED_TYPENAME fp_traits<T>::sign_change_type traits;
+ typedef NDNBOOST_DEDUCED_TYPENAME fp_traits<T>::sign_change_type traits;
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
a ^= traits::sign;
traits::set_bits(x,a);
@@ -94,9 +94,9 @@
template<class T>
inline T (changesign_impl)(T x, ieee_copy_leading_bits_tag const&)
{
- typedef BOOST_DEDUCED_TYPENAME fp_traits<T>::sign_change_type traits;
+ typedef NDNBOOST_DEDUCED_TYPENAME fp_traits<T>::sign_change_type traits;
- BOOST_DEDUCED_TYPENAME traits::bits a;
+ NDNBOOST_DEDUCED_TYPENAME traits::bits a;
traits::get_bits(x,a);
a ^= traits::sign;
traits::set_bits(x,a);
@@ -116,7 +116,7 @@
}
template <class T>
-inline int sign BOOST_NO_MACRO_EXPAND(const T& z)
+inline int sign NDNBOOST_NO_MACRO_EXPAND(const T& z)
{
return (z == 0) ? 0 : (ndnboost::math::signbit)(z) ? -1 : 1;
}
@@ -133,9 +133,9 @@
template <class T, class U>
inline typename tools::promote_args<T, U>::type
- copysign BOOST_NO_MACRO_EXPAND(const T& x, const U& y)
+ copysign NDNBOOST_NO_MACRO_EXPAND(const T& x, const U& y)
{
- BOOST_MATH_STD_USING
+ NDNBOOST_MATH_STD_USING
typedef typename tools::promote_args<T, U>::type result_type;
return (ndnboost::math::signbit)(static_cast<result_type>(x)) != (ndnboost::math::signbit)(static_cast<result_type>(y))
? (ndnboost::math::changesign)(static_cast<result_type>(x)) : static_cast<result_type>(x);
@@ -145,6 +145,6 @@
} // namespace ndnboost
-#endif // BOOST_MATH_TOOLS_SIGN_HPP
+#endif // NDNBOOST_MATH_TOOLS_SIGN_HPP