| 1 | // Copyright (C) 2016-2025 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. |
| 8 | |
| 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. |
| 13 | |
| 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/>. |
| 17 | |
| 18 | // { dg-do compile { target c++17 } } |
| 19 | |
| 20 | #include <cmath> |
| 21 | |
| 22 | namespace gnu |
| 23 | { |
| 24 | using std::acos; |
| 25 | using std::asin; |
| 26 | using std::atan; |
| 27 | using std::atan2; |
| 28 | using std::ceil; |
| 29 | using std::cos; |
| 30 | using std::cosh; |
| 31 | using std::exp; |
| 32 | using std::fabs; |
| 33 | using std::floor; |
| 34 | using std::fmod; |
| 35 | using std::frexp; |
| 36 | using std::ldexp; |
| 37 | using std::log; |
| 38 | using std::log10; |
| 39 | using std::modf; |
| 40 | using std::pow; |
| 41 | using std::sin; |
| 42 | using std::sinh; |
| 43 | using std::sqrt; |
| 44 | using std::tan; |
| 45 | using std::tanh; |
| 46 | |
| 47 | using std::acosf; |
| 48 | using std::acosl; |
| 49 | using std::asinf; |
| 50 | using std::asinl; |
| 51 | using std::atanf; |
| 52 | using std::atanl; |
| 53 | using std::atan2f; |
| 54 | using std::atan2l; |
| 55 | using std::ceilf; |
| 56 | using std::ceill; |
| 57 | using std::cosf; |
| 58 | using std::cosl; |
| 59 | using std::coshf; |
| 60 | using std::coshl; |
| 61 | using std::expf; |
| 62 | using std::expl; |
| 63 | using std::fabsf; |
| 64 | using std::fabsl; |
| 65 | using std::floorf; |
| 66 | using std::floorl; |
| 67 | using std::fmodf; |
| 68 | using std::fmodl; |
| 69 | using std::frexpf; |
| 70 | using std::frexpl; |
| 71 | using std::ldexpf; |
| 72 | using std::ldexpl; |
| 73 | using std::logf; |
| 74 | using std::logl; |
| 75 | using std::log10f; |
| 76 | using std::log10l; |
| 77 | using std::modff; |
| 78 | using std::modfl; |
| 79 | using std::powf; |
| 80 | using std::powl; |
| 81 | using std::sinf; |
| 82 | using std::sinl; |
| 83 | using std::sinhf; |
| 84 | using std::sinhl; |
| 85 | using std::sqrtf; |
| 86 | using std::sqrtl; |
| 87 | using std::tanf; |
| 88 | using std::tanl; |
| 89 | using std::tanhf; |
| 90 | using std::tanhl; |
| 91 | |
| 92 | using std::assoc_laguerre; |
| 93 | using std::assoc_laguerref; |
| 94 | using std::assoc_laguerrel; |
| 95 | using std::assoc_legendre; |
| 96 | using std::assoc_legendref; |
| 97 | using std::assoc_legendrel; |
| 98 | using std::beta; |
| 99 | using std::betaf; |
| 100 | using std::betal; |
| 101 | using std::comp_ellint_1; |
| 102 | using std::comp_ellint_1f; |
| 103 | using std::comp_ellint_1l; |
| 104 | using std::comp_ellint_2; |
| 105 | using std::comp_ellint_2f; |
| 106 | using std::comp_ellint_2l; |
| 107 | using std::comp_ellint_3; |
| 108 | using std::comp_ellint_3f; |
| 109 | using std::comp_ellint_3l; |
| 110 | using std::cyl_bessel_i; |
| 111 | using std::cyl_bessel_if; |
| 112 | using std::cyl_bessel_il; |
| 113 | using std::cyl_bessel_j; |
| 114 | using std::cyl_bessel_jf; |
| 115 | using std::cyl_bessel_jl; |
| 116 | using std::cyl_bessel_k; |
| 117 | using std::cyl_bessel_kf; |
| 118 | using std::cyl_bessel_kl; |
| 119 | using std::cyl_neumann; |
| 120 | using std::cyl_neumannf; |
| 121 | using std::cyl_neumannl; |
| 122 | using std::ellint_1; |
| 123 | using std::ellint_1f; |
| 124 | using std::ellint_1l; |
| 125 | using std::ellint_2; |
| 126 | using std::ellint_2f; |
| 127 | using std::ellint_2l; |
| 128 | using std::ellint_3; |
| 129 | using std::ellint_3f; |
| 130 | using std::ellint_3l; |
| 131 | using std::expint; |
| 132 | using std::expintf; |
| 133 | using std::expintl; |
| 134 | using std::hermite; |
| 135 | using std::hermitef; |
| 136 | using std::hermitel; |
| 137 | using std::laguerre; |
| 138 | using std::laguerref; |
| 139 | using std::laguerrel; |
| 140 | using std::legendre; |
| 141 | using std::legendref; |
| 142 | using std::legendrel; |
| 143 | using std::riemann_zeta; |
| 144 | using std::riemann_zetaf; |
| 145 | using std::riemann_zetal; |
| 146 | using std::sph_bessel; |
| 147 | using std::sph_besself; |
| 148 | using std::sph_bessell; |
| 149 | using std::sph_legendre; |
| 150 | using std::sph_legendref; |
| 151 | using std::sph_legendrel; |
| 152 | using std::sph_neumann; |
| 153 | using std::sph_neumannf; |
| 154 | using std::sph_neumannl; |
| 155 | } |