#include <bits/c++config.h>#include <bits/cpp_type_traits.h>#include <math.h>#include <bits/cmath.tcc>Include dependency graph for cmath:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | std |
Defines | |
| #define | GLIBCXXCMATH |
Functions | |
| template<typename Type> | |
| Type | std::cmath_power (Type x, unsigned int n) |
| double | std::abs (double x) |
| float | std::abs (float x) |
| long double | std::abs (long double x) |
| float | std::acos (float x) |
| long double | std::acos (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::acos (Type x) |
| float | std::asin (float x) |
| long double | std::asin (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::asin (Type x) |
| float | std::atan (float x) |
| long double | std::atan (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::atan (Type x) |
| float | std::atan2 (float y, float x) |
| long double | std::atan2 (long double y, long double x) |
| template<typename Type, typename Up> | |
| __enable_if< double, __is_integer< Type >::M_type &&__is_integer< Up >::M_type >::M_type | std::atan2 (Type y, Up x) |
| float | std::ceil (float x) |
| long double | std::ceil (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::ceil (Type x) |
| float | std::cos (float x) |
| long double | std::cos (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::cos (Type x) |
| float | std::cosh (float x) |
| long double | std::cosh (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::cosh (Type x) |
| float | std::exp (float x) |
| long double | std::exp (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::exp (Type x) |
| float | std::fabs (float x) |
| long double | std::fabs (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::fabs (Type x) |
| float | std::floor (float x) |
| long double | std::floor (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::floor (Type x) |
| float | std::fmod (float x, float y) |
| long double | std::fmod (long double x, long double y) |
| float | std::frexp (float x, int *__exp) |
| long double | std::frexp (long double x, int *__exp) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::frexp (Type x, int *__exp) |
| float | std::ldexp (float x, int __exp) |
| long double | std::ldexp (long double x, int __exp) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::ldexp (Type x, int __exp) |
| float | std::log (float x) |
| long double | std::log (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::log (Type x) |
| float | std::log10 (float x) |
| long double | std::log10 (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::log10 (Type x) |
| float | std::modf (float x, float *__iptr) |
| long double | std::modf (long double x, long double *__iptr) |
| template<typename Type> | |
| Type | std::__pow_helper (Type x, int n) |
| float | std::pow (float x, float y) |
| long double | std::pow (long double x, long double y) |
| double | std::pow (double x, int __i) |
| float | std::pow (float x, int n) |
| long double | std::pow (long double x, int n) |
| float | std::sin (float x) |
| long double | std::sin (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::sin (Type x) |
| float | std::sinh (float x) |
| long double | std::sinh (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::sinh (Type x) |
| float | std::sqrt (float x) |
| long double | std::sqrt (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::sqrt (Type x) |
| float | std::tan (float x) |
| long double | std::tan (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::tan (Type x) |
| float | std::tanh (float x) |
| long double | std::tanh (long double x) |
| template<typename Type> | |
| __enable_if< double, __is_integer< Type >::M_type >::M_type | std::tanh (Type x) |
include this file in your programs, rather than any of the "*.h" implementation files.
This is the C++ version of the Standard C Library header math.h, and its contents are (mostly) the same as that header, but are all contained in the namespace std.
Definition in file cmath.
1.5.1