1  // TR1 math.h -*- C++ -*-
       2  
       3  // Copyright (C) 2006-2023 Free Software Foundation, Inc.
       4  //
       5  // This file is part of the GNU ISO C++ Library.  This library is free
       6  // software; you can redistribute it and/or modify it under the
       7  // terms of the GNU General Public License as published by the
       8  // Free Software Foundation; either version 3, or (at your option)
       9  // any later version.
      10  
      11  // This library is distributed in the hope that it will be useful,
      12  // but WITHOUT ANY WARRANTY; without even the implied warranty of
      13  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      14  // GNU General Public License for more details.
      15  
      16  // Under Section 7 of GPL version 3, you are granted additional
      17  // permissions described in the GCC Runtime Library Exception, version
      18  // 3.1, as published by the Free Software Foundation.
      19  
      20  // You should have received a copy of the GNU General Public License and
      21  // a copy of the GCC Runtime Library Exception along with this program;
      22  // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
      23  // <http://www.gnu.org/licenses/>.
      24  
      25  /** @file tr1/math.h
      26   *  This is a TR1 C++ Library header. 
      27   */
      28  
      29  #ifndef _GLIBCXX_TR1_MATH_H
      30  #define _GLIBCXX_TR1_MATH_H 1
      31  
      32  #include <bits/requires_hosted.h> // TR1
      33  
      34  #include <tr1/cmath>
      35  
      36  #if _GLIBCXX_USE_C99_MATH_TR1
      37  
      38  using std::tr1::acos;
      39  using std::tr1::acosh;
      40  using std::tr1::asin;
      41  using std::tr1::asinh;
      42  using std::tr1::atan;
      43  using std::tr1::atan2;
      44  using std::tr1::atanh;
      45  using std::tr1::cbrt;
      46  using std::tr1::ceil;
      47  using std::tr1::copysign;
      48  using std::tr1::cos;
      49  using std::tr1::cosh;
      50  using std::tr1::erf;
      51  using std::tr1::erfc;
      52  using std::tr1::exp;
      53  using std::tr1::exp2;
      54  using std::tr1::expm1;
      55  using std::tr1::fabs;
      56  using std::tr1::fdim;
      57  using std::tr1::floor;
      58  using std::tr1::fma;
      59  using std::tr1::fmax;
      60  using std::tr1::fmin;
      61  using std::tr1::fmod;
      62  using std::tr1::frexp;
      63  using std::tr1::hypot;
      64  using std::tr1::ilogb;
      65  using std::tr1::ldexp;
      66  using std::tr1::lgamma;
      67  using std::tr1::llrint;
      68  using std::tr1::llround;
      69  using std::tr1::log;
      70  using std::tr1::log10;
      71  using std::tr1::log1p;
      72  using std::tr1::log2;
      73  using std::tr1::logb;
      74  using std::tr1::lrint;
      75  using std::tr1::lround;
      76  using std::tr1::nearbyint;
      77  using std::tr1::nextafter;
      78  using std::tr1::nexttoward;
      79  using std::tr1::pow;
      80  using std::tr1::remainder;
      81  using std::tr1::remquo;
      82  using std::tr1::rint;
      83  using std::tr1::round;
      84  using std::tr1::scalbln;
      85  using std::tr1::scalbn;
      86  using std::tr1::sin;
      87  using std::tr1::sinh;
      88  using std::tr1::sqrt;
      89  using std::tr1::tan;
      90  using std::tr1::tanh;
      91  using std::tr1::tgamma;
      92  using std::tr1::trunc;
      93  
      94  #endif
      95  
      96  using std::tr1::assoc_laguerref;
      97  using std::tr1::assoc_laguerre;
      98  using std::tr1::assoc_laguerrel;
      99  
     100  using std::tr1::assoc_legendref;
     101  using std::tr1::assoc_legendre;
     102  using std::tr1::assoc_legendrel;
     103  
     104  using std::tr1::betaf;
     105  using std::tr1::beta;
     106  using std::tr1::betal;
     107  
     108  using std::tr1::comp_ellint_1f;
     109  using std::tr1::comp_ellint_1;
     110  using std::tr1::comp_ellint_1l;
     111  
     112  using std::tr1::comp_ellint_2f;
     113  using std::tr1::comp_ellint_2;
     114  using std::tr1::comp_ellint_2l;
     115  
     116  using std::tr1::comp_ellint_3f;
     117  using std::tr1::comp_ellint_3;
     118  using std::tr1::comp_ellint_3l;
     119  
     120  using std::tr1::conf_hypergf;
     121  using std::tr1::conf_hyperg;
     122  using std::tr1::conf_hypergl;
     123  
     124  using std::tr1::cyl_bessel_if;
     125  using std::tr1::cyl_bessel_i;
     126  using std::tr1::cyl_bessel_il;
     127  
     128  using std::tr1::cyl_bessel_jf;
     129  using std::tr1::cyl_bessel_j;
     130  using std::tr1::cyl_bessel_jl;
     131  
     132  using std::tr1::cyl_bessel_kf;
     133  using std::tr1::cyl_bessel_k;
     134  using std::tr1::cyl_bessel_kl;
     135  
     136  using std::tr1::cyl_neumannf;
     137  using std::tr1::cyl_neumann;
     138  using std::tr1::cyl_neumannl;
     139  
     140  using std::tr1::ellint_1f;
     141  using std::tr1::ellint_1;
     142  using std::tr1::ellint_1l;
     143  
     144  using std::tr1::ellint_2f;
     145  using std::tr1::ellint_2;
     146  using std::tr1::ellint_2l;
     147  
     148  using std::tr1::ellint_3f;
     149  using std::tr1::ellint_3;
     150  using std::tr1::ellint_3l;
     151  
     152  using std::tr1::expintf;
     153  using std::tr1::expint;
     154  using std::tr1::expintl;
     155  
     156  using std::tr1::hermitef;
     157  using std::tr1::hermite;
     158  using std::tr1::hermitel;
     159  
     160  using std::tr1::hypergf;
     161  using std::tr1::hyperg;
     162  using std::tr1::hypergl;
     163  
     164  using std::tr1::laguerref;
     165  using std::tr1::laguerre;
     166  using std::tr1::laguerrel;
     167  
     168  using std::tr1::legendref;
     169  using std::tr1::legendre;
     170  using std::tr1::legendrel;
     171  
     172  using std::tr1::riemann_zetaf;
     173  using std::tr1::riemann_zeta;
     174  using std::tr1::riemann_zetal;
     175  
     176  using std::tr1::sph_besself;
     177  using std::tr1::sph_bessel;
     178  using std::tr1::sph_bessell;
     179  
     180  using std::tr1::sph_legendref;
     181  using std::tr1::sph_legendre;
     182  using std::tr1::sph_legendrel;
     183  
     184  using std::tr1::sph_neumannf;
     185  using std::tr1::sph_neumann;
     186  using std::tr1::sph_neumannl;
     187  
     188  #endif // _GLIBCXX_TR1_MATH_H