math.h 4.4 KB

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