/Src/Dependencies/Boost/libs/math/src/tr1/acosh.cpp

http://hadesmem.googlecode.com/ · C++ · 19 lines · 11 code · 3 blank · 5 comment · 0 complexity · bd45ced7b8ff6d7545aa954df1a59af3 MD5 · raw file

  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/acosh.hpp>
  12. #include "c_policy.hpp"
  13. extern "C" double BOOST_MATH_TR1_DECL boost_acosh BOOST_PREVENT_MACRO_SUBSTITUTION(double x) BOOST_MATH_C99_THROW_SPEC
  14. {
  15. return c_policies::acosh BOOST_PREVENT_MACRO_SUBSTITUTION(x);
  16. }