X-Git-Url: https://git.donarmstrong.com/?p=rsem.git;a=blobdiff_plain;f=boost%2Fmath%2Fspecial_functions%2Fdetail%2Fround_fwd.hpp;fp=boost%2Fmath%2Fspecial_functions%2Fdetail%2Fround_fwd.hpp;h=8c45a7d75a4385d3b1c7b3509a3d0a6db79a93f8;hp=952259ae935d93e27044d7f66d2645df12248688;hb=2d71eb92104693ca9baa5a2e1c23eeca776d8fd3;hpb=da57529b92adbb7ae74a89861cb39fb35ac7c62d diff --git a/boost/math/special_functions/detail/round_fwd.hpp b/boost/math/special_functions/detail/round_fwd.hpp index 952259a..8c45a7d 100644 --- a/boost/math/special_functions/detail/round_fwd.hpp +++ b/boost/math/special_functions/detail/round_fwd.hpp @@ -9,6 +9,7 @@ #define BOOST_MATH_SPECIAL_ROUND_FWD_HPP #include +#include #ifdef _MSC_VER #pragma once @@ -20,9 +21,9 @@ namespace boost { template - T trunc(const T& v, const Policy& pol); + typename tools::promote_args::type trunc(const T& v, const Policy& pol); template - T trunc(const T& v); + typename tools::promote_args::type trunc(const T& v); template int itrunc(const T& v, const Policy& pol); template @@ -38,9 +39,9 @@ namespace boost boost::long_long_type lltrunc(const T& v); #endif template - T round(const T& v, const Policy& pol); + typename tools::promote_args::type round(const T& v, const Policy& pol); template - T round(const T& v); + typename tools::promote_args::type round(const T& v); template int iround(const T& v, const Policy& pol); template @@ -76,5 +77,17 @@ namespace boost } } + +#undef BOOST_MATH_STD_USING +#define BOOST_MATH_STD_USING BOOST_MATH_STD_USING_CORE\ + using boost::math::round;\ + using boost::math::iround;\ + using boost::math::lround;\ + using boost::math::trunc;\ + using boost::math::itrunc;\ + using boost::math::ltrunc;\ + using boost::math::modf; + + #endif // BOOST_MATH_SPECIAL_ROUND_FWD_HPP