cmath(3)
π NAME
okay so bestie, this is cmath(3) from the Library Functions Manual β the libstdc++ page for cmath. The original NAME line is just cmath with no extra desc, so that's the vibe. slay π
β¨ SYNOPSIS
Here's the whole cast, no cuts, no cap:
π«§ Namespaces
namespace std
π Defines
#define _GLIBCXX_CMATH
π Functions
okay bestie, here's the full roster β every single overload, no skips:
template<typename _Tp > _Tp std::__cmath_power (_Tp, unsigned int)
template<typename _Tp > _Tp std::__pow_helper (_Tp __x, int __n)
long double std::abs (long double __x)
float std::abs (float __x)
double std::abs (double __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::acos (_Tp __x)
long double std::acos (long double __x)
float std::acos (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::asin (_Tp __x)
long double std::asin (long double __x)
float std::asin (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::atan (_Tp __x)
long double std::atan (long double __x)
float std::atan (float __x)
template<typename _Tp , typename _Up > __gnu_cxx::__promote_2< typename
__gnu_cxx::__enable_if< __is_arithmetic< _Tp >::__value
&&__is_arithmetic< _Up >::__value, _Tp >::__type, _Up >::__type
std::atan2 (_Tp __y, _Up __x)
long double std::atan2 (long double __y, long double __x)
float std::atan2 (float __y, float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::ceil (_Tp __x)
long double std::ceil (long double __x)
float std::ceil (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::cos (_Tp __x)
long double std::cos (long double __x)
float std::cos (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::cosh (_Tp __x)
long double std::cosh (long double __x)
float std::cosh (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::exp (_Tp __x)
long double std::exp (long double __x)
float std::exp (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::fabs (_Tp __x)
long double std::fabs (long double __x)
float std::fabs (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::floor (_Tp __x)
long double std::floor (long double __x)
float std::floor (float __x)
long double std::fmod (long double __x, long double __y)
float std::fmod (float __x, float __y)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::frexp (_Tp __x, int *__exp)
long double std::frexp (long double __x, int *__exp)
float std::frexp (float __x, int *__exp)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::ldexp (_Tp __x, int __exp)
long double std::ldexp (long double __x, int __exp)
float std::ldexp (float __x, int __exp)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::log (_Tp __x)
long double std::log (long double __x)
float std::log (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::log10 (_Tp __x)
long double std::log10 (long double __x)
float std::log10 (float __x)
long double std::modf (long double __x, long double *__iptr)
float std::modf (float __x, float *__iptr)
template<typename _Tp , typename _Up > __gnu_cxx::__promote_2< typename
__gnu_cxx::__enable_if< __is_arithmetic< _Tp >::__value
&&__is_arithmetic< _Up >::__value, _Tp >::__type, _Up >::__type
std::pow (_Tp __x, _Up __y)
long double std::pow (long double __x, long double __y)
float std::pow (float __x, float __y)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::sin (_Tp __x)
long double std::sin (long double __x)
float std::sin (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::sinh (_Tp __x)
long double std::sinh (long double __x)
float std::sinh (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::sqrt (_Tp __x)
long double std::sqrt (long double __x)
float std::sqrt (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::tan (_Tp __x)
long double std::tan (long double __x)
float std::tan (float __x)
template<typename _Tp > __gnu_cxx::__enable_if< __is_integer< _Tp
>::__value, double >::__type std::tanh (_Tp __x)
long double std::tanh (long double __x)
float std::tanh (float __x)
π Detailed Description
Okay so real talk, bestie: this is a Standard C++ Library file. You should include this file in your programs, rather than any of the *.h implementation files. periodt π
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 std namespace (except for names which are defined as macros in C). iykyk β¨
Definition in file cmath.
π¦ Author
Generated automatically by Doxygen for libstdc++ from the source code.
mwah π that's the whole page β libstdc++, 21 Apr 2009, cmath(3). You ate, bestie! π«Ά
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms