1 // TR1 math.h -*- C++ -*- 2 3 // Copyright (C) 2006 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 2, 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 // You should have received a copy of the GNU General Public License along 17 // with this library; see the file COPYING. If not, write to the Free 18 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 // USA. 20 21 // As a special exception, you may use this file as part of a free software 22 // library without restriction. Specifically, if other files instantiate 23 // templates or use macros or inline functions from this file, or you compile 24 // this file and link it with other files to produce an executable, this 25 // file does not by itself cause the resulting executable to be covered by 26 // the GNU General Public License. This exception does not however 27 // invalidate any other reasons why the executable file might be covered by 28 // the GNU General Public License. 29 30 /** @file tr1/math.h 31 * This is a TR1 C++ Library header. 32 */ 33 34 #ifndef _TR1_MATH_H 35 #define _TR1_MATH_H 1 36 37 #include <tr1/cmath> 38 39 #if _GLIBCXX_USE_C99_MATH_TR1 40 41 using std::tr1::acos; 42 using std::tr1::acosh; 43 using std::tr1::asin; 44 using std::tr1::asinh; 45 using std::tr1::atan; 46 using std::tr1::atan2; 47 using std::tr1::atanh; 48 using std::tr1::cbrt; 49 using std::tr1::ceil; 50 using std::tr1::copysign; 51 using std::tr1::cos; 52 using std::tr1::cosh; 53 using std::tr1::erf; 54 using std::tr1::erfc; 55 using std::tr1::exp; 56 using std::tr1::exp2; 57 using std::tr1::expm1; 58 using std::tr1::fabs; 59 using std::tr1::fdim; 60 using std::tr1::floor; 61 using std::tr1::fma; 62 using std::tr1::fmax; 63 using std::tr1::fmin; 64 using std::tr1::fmod; 65 using std::tr1::frexp; 66 using std::tr1::hypot; 67 using std::tr1::ilogb; 68 using std::tr1::ldexp; 69 using std::tr1::lgamma; 70 using std::tr1::llrint; 71 using std::tr1::llround; 72 using std::tr1::log; 73 using std::tr1::log10; 74 using std::tr1::log1p; 75 using std::tr1::log2; 76 using std::tr1::logb; 77 using std::tr1::lrint; 78 using std::tr1::lround; 79 using std::tr1::nearbyint; 80 using std::tr1::nextafter; 81 using std::tr1::nexttoward; 82 using std::tr1::pow; 83 using std::tr1::remainder; 84 using std::tr1::remquo; 85 using std::tr1::rint; 86 using std::tr1::round; 87 using std::tr1::scalbln; 88 using std::tr1::scalbn; 89 using std::tr1::sin; 90 using std::tr1::sinh; 91 using std::tr1::sqrt; 92 using std::tr1::tan; 93 using std::tr1::tanh; 94 using std::tr1::tgamma; 95 using std::tr1::trunc; 96 97 #endif 98 99 #endif 100