mirror of
https://github.com/boostorg/math.git
synced 2026-01-27 07:02:08 +00:00
19 lines
573 B
C++
19 lines
573 B
C++
// 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)
|
|
//
|
|
#define BOOST_MATH_TR1_SOURCE
|
|
#include <boost/math/tr1.hpp>
|
|
#include <boost/math/special_functions/round.hpp>
|
|
#include "c_policy.hpp"
|
|
|
|
namespace boost{ namespace math{ namespace tr1{
|
|
|
|
extern "C" double BOOST_MATH_TR1_DECL round BOOST_PREVENT_MACRO_SUBSTITUTION(double x)
|
|
{
|
|
return c_policies::round BOOST_PREVENT_MACRO_SUBSTITUTION(x);
|
|
}
|
|
|
|
}}}
|