• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 <tr1/cmath>
7 
main()8 int main()
9 {
10    long double d = 1;
11 
12    d = std::tr1::erf(d);
13    d = std::tr1::erfc(d);
14    d = std::tr1::tgamma(d);
15    d = std::tr1::lgamma(d);
16    return d != 0 ? 0 : 1;
17 }
18