]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/math/test/compile_test/compl_atan_incl_test.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / math / test / compile_test / compl_atan_incl_test.cpp
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/atan.hpp>
7 // #includes all the files that it needs to.
8 //
9 #include <boost/math/complex/atan.hpp>
10
11 inline void check_result_imp(std::complex<float>, std::complex<float>){}
12 inline void check_result_imp(std::complex<double>, std::complex<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
19 void compile_and_link_test()
20 {
21 check_result<std::complex<float> >(boost::math::atan(std::complex<float>()));
22 check_result<std::complex<double> >(boost::math::atan(std::complex<double>()));
23 #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
24 check_result<std::complex<long double> >(boost::math::atan(std::complex<long double>()));
25 #endif
26 }
27
28