# math.h

Go to the documentation of this file.

    00001 // TR1 math.h -*- C++ -*-
    00002
    00003 // Copyright (C) 2006 Free Software Foundation, Inc.
    00004 //
    00005 // This file is part of the GNU ISO C++ Library.  This library is free
    00006 // software; you can redistribute it and/or modify it under the
    00007 // terms of the GNU General Public License as published by the
    00008 // Free Software Foundation; either version 2, or (at your option)
    00009 // any later version.
    00010
    00011 // This library is distributed in the hope that it will be useful,
    00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00014 // GNU General Public License for more details.
    00015
    00016 // You should have received a copy of the GNU General Public License along
    00017 // with this library; see the file COPYING.  If not, write to the Free
    00018 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
    00019 // USA.
    00020
    00021 // As a special exception, you may use this file as part of a free software
    00022 // library without restriction.  Specifically, if other files instantiate
    00023 // templates or use macros or inline functions from this file, or you compile
    00024 // this file and link it with other files to produce an executable, this
    00025 // file does not by itself cause the resulting executable to be covered by
    00026 // the GNU General Public License.  This exception does not however
    00027 // invalidate any other reasons why the executable file might be covered by
    00028 // the GNU General Public License.
    00029
    00030 /** @file tr1/math.h
    00031  *  This is a TR1 C++ Library header.
    00032  */
    00033
    00034 #ifndef _TR1_MATH_H
    00035 #define _TR1_MATH_H 1
    00036
    00037 #include <tr1/cmath>
    00038
    00039 #if _GLIBCXX_USE_C99_MATH_TR1
    00040
    00041 using std::tr1::acos;
    00042 using std::tr1::acosh;
    00043 using std::tr1::asin;
    00044 using std::tr1::asinh;
    00045 using std::tr1::atan;
    00046 using std::tr1::atan2;
    00047 using std::tr1::atanh;
    00048 using std::tr1::cbrt;
    00049 using std::tr1::ceil;
    00050 using std::tr1::copysign;
    00051 using std::tr1::cos;
    00052 using std::tr1::cosh;
    00053 using std::tr1::erf;
    00054 using std::tr1::erfc;
    00055 using std::tr1::exp;
    00056 using std::tr1::exp2;
    00057 using std::tr1::expm1;
    00058 using std::tr1::fabs;
    00059 using std::tr1::fdim;
    00060 using std::tr1::floor;
    00061 using std::tr1::fma;
    00062 using std::tr1::fmax;
    00063 using std::tr1::fmin;
    00064 using std::tr1::fmod;
    00065 using std::tr1::frexp;
    00066 using std::tr1::hypot;
    00067 using std::tr1::ilogb;
    00068 using std::tr1::ldexp;
    00069 using std::tr1::lgamma;
    00070 using std::tr1::llrint;
    00071 using std::tr1::llround;
    00072 using std::tr1::log;
    00073 using std::tr1::log10;
    00074 using std::tr1::log1p;
    00075 using std::tr1::log2;
    00076 using std::tr1::logb;
    00077 using std::tr1::lrint;
    00078 using std::tr1::lround;
    00079 using std::tr1::nearbyint;
    00080 using std::tr1::nextafter;
    00081 using std::tr1::nexttoward;
    00082 using std::tr1::pow;
    00083 using std::tr1::remainder;
    00084 using std::tr1::remquo;
    00085 using std::tr1::rint;
    00086 using std::tr1::round;
    00087 using std::tr1::scalbln;
    00088 using std::tr1::scalbn;
    00089 using std::tr1::sin;
    00090 using std::tr1::sinh;
    00091 using std::tr1::sqrt;
    00092 using std::tr1::tan;
    00093 using std::tr1::tanh;
    00094 using std::tr1::tgamma;
    00095 using std::tr1::trunc;
    00096
    00097 #endif
    00098
    00099 #endif