1// -*- C++ -*- compatibility header. 2 3// Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4// Free Software Foundation, Inc. 5// 6// This file is part of the GNU ISO C++ Library. This library is free 7// software; you can redistribute it and/or modify it under the 8// terms of the GNU General Public License as published by the 9// Free Software Foundation; either version 3, or (at your option) 10// any later version. 11 12// This library is distributed in the hope that it will be useful, 13// but WITHOUT ANY WARRANTY; without even the implied warranty of 14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15// GNU General Public License for more details. 16 17// Under Section 7 of GPL version 3, you are granted additional 18// permissions described in the GCC Runtime Library Exception, version 19// 3.1, as published by the Free Software Foundation. 20 21// You should have received a copy of the GNU General Public License and 22// a copy of the GCC Runtime Library Exception along with this program; 23// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 24// <http://www.gnu.org/licenses/>. 25 26/** @file math.h 27 * This is a Standard C++ Library header. 28 */ 29 30#include <cmath> 31 32#ifndef _GLIBCXX_MATH_H 33#define _GLIBCXX_MATH_H 1 34 35#ifdef _GLIBCXX_NAMESPACE_C 36using std::abs; 37using std::acos; 38using std::asin; 39using std::atan; 40using std::atan2; 41using std::cos; 42using std::sin; 43using std::tan; 44using std::cosh; 45using std::sinh; 46using std::tanh; 47using std::exp; 48using std::frexp; 49using std::ldexp; 50using std::log; 51using std::log10; 52using std::modf; 53using std::pow; 54using std::sqrt; 55using std::ceil; 56using std::fabs; 57using std::floor; 58using std::fmod; 59 60#if _GLIBCXX_USE_C99 61using std::fpclassify; 62using std::isfinite; 63using std::isinf; 64using std::isnan; 65using std::isnormal; 66using std::signbit; 67using std::isgreater; 68using std::isgreaterequal; 69using std::isless; 70using std::islessequal; 71using std::islessgreater; 72using std::isunordered; 73#endif 74 75#endif 76 77#endif 78