1
by Steve M. Robbins
Import upstream version 1.46.0 |
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 |
# include <pch.hpp>
|
|
7 |
#ifndef BOOST_MATH_TR1_SOURCE
|
|
8 |
# define BOOST_MATH_TR1_SOURCE
|
|
9 |
#endif
|
|
10 |
#include <boost/math/tr1.hpp> |
|
11 |
#include <boost/math/special_functions/round.hpp> |
|
12 |
#include "c_policy.hpp" |
|
13 |
||
14 |
namespace boost{ namespace math{ namespace tr1{ |
|
15 |
||
1.1.1
by Steve M. Robbins
Import upstream version 1.46.1 |
16 |
extern "C" long BOOST_MATH_TR1_DECL boost_lround BOOST_PREVENT_MACRO_SUBSTITUTION(double x) BOOST_MATH_C99_THROW_SPEC |
1
by Steve M. Robbins
Import upstream version 1.46.0 |
17 |
{
|
18 |
return c_policies::lround BOOST_PREVENT_MACRO_SUBSTITUTION(x); |
|
19 |
}
|
|
20 |
||
21 |
}}}
|
|
22 |
||
23 |