]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/boost_has_tr1_complex_trig.ipp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / config / test / boost_has_tr1_complex_trig.ipp
1 // (C) Copyright John Maddock 2005.
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 // See http://www.boost.org/libs/config for most recent version.
7
8 // MACRO: BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
9 // TITLE: std::complex inverse trig functions
10 // DESCRIPTION: The std lib has a tr1-conforming set of std::complex inverse trig functions.
11
12 #include <complex>
13
14 namespace boost_has_tr1_complex_inverse_trig{
15
16
17 int test()
18 {
19 std::complex<double> cd;
20 std::asin(cd);
21 std::acos(cd);
22 std::atan(cd);
23 std::asinh(cd);
24 std::acosh(cd);
25 std::atanh(cd);
26 std::fabs(cd);
27 return 0;
28 }
29
30 }