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
36 using std::abs;
37 using std::acos;
38 using std::asin;
39 using std::atan;
40 using std::atan2;
41 using std::cos;
42 using std::sin;
43 using std::tan;
44 using std::cosh;
45 using std::sinh;
46 using std::tanh;
47 using std::exp;
48 using std::frexp;
49 using std::ldexp;
50 using std::log;
51 using std::log10;
52 using std::modf;
53 using std::pow;
54 using std::sqrt;
55 using std::ceil;
56 using std::fabs;
57 using std::floor;
58 using std::fmod;
59 
60 #if _GLIBCXX_USE_C99
61 using std::fpclassify;
62 using std::isfinite;
63 using std::isinf;
64 using std::isnan;
65 using std::isnormal;
66 using std::signbit;
67 using std::isgreater;
68 using std::isgreaterequal;
69 using std::isless;
70 using std::islessequal;
71 using std::islessgreater;
72 using std::isunordered;
73 #endif
74 
75 #endif
76 
77 #endif
78