OpenMP: Fix typo in atomic directive error message
[gcc.git] / libstdc++-v3 / testsuite / special_functions / 13_ellint_3 / pr66689.cc
blobe261003592d41b7e1281ea249307c76026f809f9
1 // { dg-do run { target c++11 } }
2 // { dg-require-c-std "" }
3 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
4 // { dg-add-options ieee }
6 #include <cmath>
7 #include <testsuite_hooks.h>
9 void
10 test01()
12 const double pi = 3.141592654;
14 double Pi1 = std::ellint_3(0.75, 0.0, pi / 2.0);
15 VERIFY(std::abs(Pi1 - 1.91099) < 0.00001);
17 double Pi2 = std::ellint_3(0.75, 0.5, pi / 2.0);
18 VERIFY(std::abs(Pi2 - 2.80011) < 0.00001);
21 int
22 main()
24 test01();
25 return 0;