Release 1.39.0
[boost.git] / Boost_1_39_0 / libs / math / src / tr1 / llround.cpp
blob38368c66e221bbcefce1ebd3a41e51edd4245d7c
1 // Copyright John Maddock 2008.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 //
6 #define BOOST_MATH_TR1_SOURCE
7 #include <boost/math/tr1.hpp>
9 #ifdef BOOST_HAS_LONG_LONG
11 #include <boost/math/special_functions/round.hpp>
12 #include "c_policy.hpp"
14 namespace boost{ namespace math{ namespace tr1{
16 extern "C" ::boost::long_long_type BOOST_MATH_TR1_DECL llround BOOST_PREVENT_MACRO_SUBSTITUTION(double x)
18 return c_policies::llround BOOST_PREVENT_MACRO_SUBSTITUTION(x);
21 }}}
23 #endif