math.h revision 102782
11844Swollman// -*- C++ -*- compatibility header.
26252Sbde
31844Swollman// Copyright (C) 2002 Free Software Foundation, Inc.
41638Srgrimes//
51638Srgrimes// This file is part of the GNU ISO C++ Library.  This library is free
61638Srgrimes// software; you can redistribute it and/or modify it under the
71638Srgrimes// terms of the GNU General Public License as published by the
81638Srgrimes// Free Software Foundation; either version 2, or (at your option)
91844Swollman// any later version.
101844Swollman
111844Swollman// This library is distributed in the hope that it will be useful,
121844Swollman// but WITHOUT ANY WARRANTY; without even the implied warranty of
131844Swollman// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
141844Swollman// GNU General Public License for more details.
151844Swollman
161844Swollman// You should have received a copy of the GNU General Public License along
171844Swollman// with this library; see the file COPYING.  If not, write to the Free
182353Sbde// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
192827Sjkh// USA.
202827Sjkh
212827Sjkh// As a special exception, you may use this file as part of a free software
222827Sjkh// library without restriction.  Specifically, if other files instantiate
234450Sbde// templates or use macros or inline functions from this file, or you compile
244450Sbde// this file and link it with other files to produce an executable, this
251638Srgrimes// file does not by itself cause the resulting executable to be covered by
261638Srgrimes// the GNU General Public License.  This exception does not however
271638Srgrimes// invalidate any other reasons why the executable file might be covered by
281638Srgrimes// the GNU General Public License.
291638Srgrimes
304450Sbde#ifndef _CPP_MATH_H_
311638Srgrimes#define _CPP_MATH_H_ 1
322827Sjkh
331638Srgrimes#include <cmath>
342827Sjkh
351638Srgrimesusing std::abs;
361638Srgrimesusing std::acos;
371638Srgrimesusing std::asin;
381638Srgrimesusing std::atan;
391638Srgrimesusing std::atan2;
401638Srgrimesusing std::cos;
411638Srgrimesusing std::sin;
421638Srgrimesusing std::tan;
431844Swollmanusing std::cosh;
441638Srgrimesusing std::sinh;
451844Swollmanusing std::tanh;
461638Srgrimesusing std::exp;
471638Srgrimesusing std::frexp;
481844Swollmanusing std::ldexp;
491638Srgrimesusing std::log;
501638Srgrimesusing std::log10;
511638Srgrimesusing std::modf;
521638Srgrimesusing std::pow;
531638Srgrimesusing std::sqrt;
541638Srgrimesusing std::ceil;
551638Srgrimesusing std::fabs;
561638Srgrimesusing std::floor;
571844Swollmanusing std::fmod;
581844Swollman
595212Snate#if _GLIBCPP_USE_C99
605212Snateusing std::fpclassify;
611844Swollmanusing std::isfinite;
621844Swollmanusing std::isinf;
631844Swollmanusing std::isnan;
641844Swollmanusing std::isnormal;
651844Swollmanusing std::signbit;
661844Swollmanusing std::isgreater;
671844Swollmanusing std::isgreaterequal;
681844Swollmanusing std::isless;
691844Swollmanusing std::islessequal;
701844Swollmanusing std::islessgreater;
711844Swollmanusing std::isunordered;
721844Swollman#endif
731844Swollman
745212Snate#endif
755212Snate