PR libstdc++/78179 run long double tests separately
[official-gcc.git] / libstdc++-v3 / testsuite / 26_numerics / headers / cmath / functions_global_c++17.cc
blob8b60cb1000f8b5172c25f40e59f759e2b4360dcb
1 // Copyright (C) 2017-2018 Free Software Foundation, Inc.
2 //
3 // This file is part of the GNU ISO C++ Library. This library is free
4 // software; you can redistribute it and/or modify it under the
5 // terms of the GNU General Public License as published by the
6 // Free Software Foundation; either version 3, or (at your option)
7 // any later version.
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License along
15 // with this library; see the file COPYING3. If not see
16 // <http://www.gnu.org/licenses/>.
18 // { dg-options "-std=gnu++17" }
19 // { dg-do compile }
21 #include <math.h>
23 namespace gnu
25 using ::acos;
26 using ::asin;
27 using ::atan;
28 using ::atan2;
29 using ::ceil;
30 using ::cos;
31 using ::cosh;
32 using ::exp;
33 using ::fabs;
34 using ::floor;
35 using ::fmod;
36 using ::frexp;
37 using ::ldexp;
38 using ::log;
39 using ::log10;
40 using ::modf;
41 using ::pow;
42 using ::sin;
43 using ::sinh;
44 using ::sqrt;
45 using ::tan;
46 using ::tanh;
48 using ::assoc_laguerre;
49 using ::assoc_laguerref;
50 using ::assoc_laguerrel;
51 using ::assoc_legendre;
52 using ::assoc_legendref;
53 using ::assoc_legendrel;
54 using ::beta;
55 using ::betaf;
56 using ::betal;
57 using ::comp_ellint_1;
58 using ::comp_ellint_1f;
59 using ::comp_ellint_1l;
60 using ::comp_ellint_2;
61 using ::comp_ellint_2f;
62 using ::comp_ellint_2l;
63 using ::comp_ellint_3;
64 using ::comp_ellint_3f;
65 using ::comp_ellint_3l;
66 using ::cyl_bessel_i;
67 using ::cyl_bessel_if;
68 using ::cyl_bessel_il;
69 using ::cyl_bessel_j;
70 using ::cyl_bessel_jf;
71 using ::cyl_bessel_jl;
72 using ::cyl_bessel_k;
73 using ::cyl_bessel_kf;
74 using ::cyl_bessel_kl;
75 using ::cyl_neumann;
76 using ::cyl_neumannf;
77 using ::cyl_neumannl;
78 using ::ellint_1;
79 using ::ellint_1f;
80 using ::ellint_1l;
81 using ::ellint_2;
82 using ::ellint_2f;
83 using ::ellint_2l;
84 using ::ellint_3;
85 using ::ellint_3f;
86 using ::ellint_3l;
87 using ::expint;
88 using ::expintf;
89 using ::expintl;
90 using ::hermite;
91 using ::hermitef;
92 using ::hermitel;
93 using ::laguerre;
94 using ::laguerref;
95 using ::laguerrel;
96 using ::legendre;
97 using ::legendref;
98 using ::legendrel;
99 using ::riemann_zeta;
100 using ::riemann_zetaf;
101 using ::riemann_zetal;
102 using ::sph_bessel;
103 using ::sph_besself;
104 using ::sph_bessell;
105 using ::sph_legendre;
106 using ::sph_legendref;
107 using ::sph_legendrel;
108 using ::sph_neumann;
109 using ::sph_neumannf;
110 using ::sph_neumannl;