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 41using std::tr1::acos; 42using std::tr1::acosh; 43using std::tr1::asin; 44using std::tr1::asinh; 45using std::tr1::atan; 46using std::tr1::atan2; 47using std::tr1::atanh; 48using std::tr1::cbrt; 49using std::tr1::ceil; 50using std::tr1::copysign; 51using std::tr1::cos; 52using std::tr1::cosh; 53using std::tr1::erf; 54using std::tr1::erfc; 55using std::tr1::exp; 56using std::tr1::exp2; 57using std::tr1::expm1; 58using std::tr1::fabs; 59using std::tr1::fdim; 60using std::tr1::floor; 61using std::tr1::fma; 62using std::tr1::fmax; 63using std::tr1::fmin; 64using std::tr1::fmod; 65using std::tr1::frexp; 66using std::tr1::hypot; 67using std::tr1::ilogb; 68using std::tr1::ldexp; 69using std::tr1::lgamma; 70using std::tr1::llrint; 71using std::tr1::llround; 72using std::tr1::log; 73using std::tr1::log10; 74using std::tr1::log1p; 75using std::tr1::log2; 76using std::tr1::logb; 77using std::tr1::lrint; 78using std::tr1::lround; 79using std::tr1::nearbyint; 80using std::tr1::nextafter; 81using std::tr1::nexttoward; 82using std::tr1::pow; 83using std::tr1::remainder; 84using std::tr1::remquo; 85using std::tr1::rint; 86using std::tr1::round; 87using std::tr1::scalbln; 88using std::tr1::scalbn; 89using std::tr1::sin; 90using std::tr1::sinh; 91using std::tr1::sqrt; 92using std::tr1::tan; 93using std::tr1::tanh; 94using std::tr1::tgamma; 95using std::tr1::trunc; 96 97#endif 98 99#endif 100