]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/math/reporting/accuracy/has_c99_cmath.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / math / reporting / accuracy / has_c99_cmath.cpp
1 // Copyright John Maddock 2015.
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 <math.h>
7
8 int main()
9 {
10 long double d = 1;
11
12 d = ::erf(d);
13 d = ::erfc(d);
14 d = ::tgamma(d);
15 d = ::lgamma(d);
16 return d != 0 ? 0 : 1;
17 }