// Copyright John Maddock 2008. // 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) #ifndef BOOST_MATH_SPECIAL_ROUND_FWD_HPP #define BOOST_MATH_SPECIAL_ROUND_FWD_HPP #include #include #ifdef _MSC_VER #pragma once #endif namespace lslboost { namespace math { template typename tools::promote_args::type trunc(const T& v, const Policy& pol); template typename tools::promote_args::type trunc(const T& v); template int itrunc(const T& v, const Policy& pol); template int itrunc(const T& v); template long ltrunc(const T& v, const Policy& pol); template long ltrunc(const T& v); #ifdef BOOST_HAS_LONG_LONG template lslboost::long_long_type lltrunc(const T& v, const Policy& pol); template lslboost::long_long_type lltrunc(const T& v); #endif template typename tools::promote_args::type round(const T& v, const Policy& pol); template typename tools::promote_args::type round(const T& v); template int iround(const T& v, const Policy& pol); template int iround(const T& v); template long lround(const T& v, const Policy& pol); template long lround(const T& v); #ifdef BOOST_HAS_LONG_LONG template lslboost::long_long_type llround(const T& v, const Policy& pol); template lslboost::long_long_type llround(const T& v); #endif template T modf(const T& v, T* ipart, const Policy& pol); template T modf(const T& v, T* ipart); template T modf(const T& v, int* ipart, const Policy& pol); template T modf(const T& v, int* ipart); template T modf(const T& v, long* ipart, const Policy& pol); template T modf(const T& v, long* ipart); #ifdef BOOST_HAS_LONG_LONG template T modf(const T& v, lslboost::long_long_type* ipart, const Policy& pol); template T modf(const T& v, lslboost::long_long_type* ipart); #endif } } #undef BOOST_MATH_STD_USING #define BOOST_MATH_STD_USING BOOST_MATH_STD_USING_CORE\ using lslboost::math::round;\ using lslboost::math::iround;\ using lslboost::math::lround;\ using lslboost::math::trunc;\ using lslboost::math::itrunc;\ using lslboost::math::ltrunc;\ using lslboost::math::modf; #endif // BOOST_MATH_SPECIAL_ROUND_FWD_HPP