• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //  Copyright John Maddock 2006.
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 // Basic sanity check that header <boost/math/complex/asinh.hpp>
7 // #includes all the files that it needs to.
8 //
9 #include <boost/math/complex/asinh.hpp>
10 
check_result_imp(std::complex<float>,std::complex<float>)11 inline void check_result_imp(std::complex<float>, std::complex<float>){}
check_result_imp(std::complex<double>,std::complex<double>)12 inline void check_result_imp(std::complex<double>, std::complex<double>){}
check_result_imp(std::complex<long double>,std::complex<long double>)13 inline void check_result_imp(std::complex<long double>, std::complex<long double>){}
14 
15 #include "test_compile_result.hpp"
16 
17 
18 
compile_and_link_test()19 void compile_and_link_test()
20 {
21    check_result<std::complex<float> >(boost::math::asinh(std::complex<float>()));
22    check_result<std::complex<double> >(boost::math::asinh(std::complex<double>()));
23 #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
24    check_result<std::complex<long double> >(boost::math::asinh(std::complex<long double>()));
25 #endif
26 }
27 
28 
29