tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches

Common mathematics functions. More...

Typedefs

using double_t = double
 Most efficient floating-point type at least as wide as double.
 
using float_t = float
 Most efficient floating-point type at least as wide as float.
 

Functions

constexpr auto isfinite (double arg) -> bool
 
constexpr auto isfinite (float arg) -> bool
 Determines if the given floating point number arg has finite value i.e. it is normal, subnormal or zero, but not infinite or NaN.
 
constexpr auto isfinite (long double arg) -> bool
 
constexpr auto isinf (double arg) -> bool
 
constexpr auto isinf (float arg) -> bool
 Determines if the given floating point number arg is a positive or negative infinity.
 
template<etl::integral Int>
constexpr auto isinf (Int arg) -> bool
 
constexpr auto isinf (long double arg) -> bool
 
constexpr auto isnan (double arg) -> bool
 
constexpr auto isnan (float arg) -> bool
 Determines if the given floating point number arg is a not-a-number (NaN) value.
 
template<integral Int>
constexpr auto isnan (Int arg) -> bool
 Determines if the given floating point number arg is a not-a-number (NaN) value.
 
constexpr auto isnan (long double arg) -> bool
 
template<floating_point Float>
constexpr auto lerp (Float a, Float b, Float t) noexcept -> Float
 Computes a+t(b−a), i.e. the linear interpolation between a and b for the parameter t (or extrapolation, when t is outside the range [0,1]).
 
constexpr auto lgamma (double arg) noexcept -> double
 Computes the natural logarithm of the absolute value of the gamma function of arg.
 
constexpr auto lgamma (float arg) noexcept -> float
 Computes the natural logarithm of the absolute value of the gamma function of arg.
 
constexpr auto lgamma (long double arg) noexcept -> long double
 Computes the natural logarithm of the absolute value of the gamma function of arg.
 
template<integral T>
constexpr auto lgamma (T arg) noexcept -> double
 Computes the natural logarithm of the absolute value of the gamma function of arg.
 
constexpr auto lgammaf (float arg) noexcept -> float
 Computes the natural logarithm of the absolute value of the gamma function of arg.
 
constexpr auto lgammal (long double arg) noexcept -> long double
 Computes the natural logarithm of the absolute value of the gamma function of arg.
 
constexpr auto llrint (double arg) noexcept -> long long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
constexpr auto llrint (float arg) noexcept -> long long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
constexpr auto llrint (long double arg) noexcept -> long long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
template<integral T>
constexpr auto llrint (T arg) noexcept -> long long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
constexpr auto llrintf (float arg) noexcept -> long long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
constexpr auto llrintl (long double arg) noexcept -> long long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
constexpr auto lrint (double arg) noexcept -> long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
constexpr auto lrint (float arg) noexcept -> long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
constexpr auto lrint (long double arg) noexcept -> long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
template<integral T>
constexpr auto lrint (T arg) noexcept -> long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
constexpr auto lrintf (float arg) noexcept -> long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
constexpr auto lrintl (long double arg) noexcept -> long
 Rounds the floating-point argument arg to an integer value, using the current rounding mode.
 
constexpr auto pow (double base, double exp) -> double
 Computes the value of base raised to the power exp.
 
constexpr auto pow (double base, int iexp) -> double
 Computes the value of base raised to the power exp.
 
constexpr auto pow (float base, float exp) -> float
 Computes the value of base raised to the power exp.
 
constexpr auto pow (float base, int iexp) -> float
 Computes the value of base raised to the power exp.
 
constexpr auto pow (long double base, int iexp) -> long double
 Computes the value of base raised to the power exp.
 
constexpr auto pow (long double base, long double exp) -> long double
 Computes the value of base raised to the power exp.
 
constexpr auto powf (float base, float exp) -> float
 Computes the value of base raised to the power exp.
 
constexpr auto powl (long double base, long double exp) -> long double
 Computes the value of base raised to the power exp.
 
constexpr auto remainder (double x, double y) noexcept -> double
 Computes the remainder of the floating point division operation x/y.
 
constexpr auto remainder (float x, float y) noexcept -> float
 Computes the remainder of the floating point division operation x/y.
 
constexpr auto remainder (long double x, long double y) noexcept -> long double
 Computes the remainder of the floating point division operation x/y.
 
constexpr auto remainderf (float x, float y) noexcept -> float
 Computes the remainder of the floating point division operation x/y.
 
constexpr auto remainderl (long double x, long double y) noexcept -> long double
 Computes the remainder of the floating point division operation x/y.
 
constexpr auto rint (double arg) noexcept -> double
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
constexpr auto rint (float arg) noexcept -> float
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
constexpr auto rint (long double arg) noexcept -> long double
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
template<integral T>
constexpr auto rint (T arg) noexcept -> double
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
constexpr auto rintf (float arg) noexcept -> float
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
constexpr auto rintl (long double arg) noexcept -> long double
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
constexpr auto signbit (double arg) noexcept -> bool
 Determines if the given floating point number arg is negative.
 
constexpr auto signbit (float arg) noexcept -> bool
 Determines if the given floating point number arg is negative.
 
constexpr auto signbit (long double arg) noexcept -> bool
 Determines if the given floating point number arg is negative.
 
constexpr auto sinh (double arg) noexcept -> double
 Computes the hyperbolic sine of arg.
 
constexpr auto sinh (float arg) noexcept -> float
 Computes the hyperbolic sine of arg.
 
constexpr auto sinh (long double arg) noexcept -> long double
 Computes the hyperbolic sine of arg.
 
template<integral T>
constexpr auto sinh (T arg) noexcept -> double
 Computes the hyperbolic sine of arg.
 
constexpr auto sinhf (float arg) noexcept -> float
 Computes the hyperbolic sine of arg.
 
constexpr auto sinhl (long double arg) noexcept -> long double
 Computes the hyperbolic sine of arg.
 
constexpr auto sqrt (double arg) noexcept -> double
 Computes the square root of arg.
 
constexpr auto sqrt (float arg) noexcept -> float
 Computes the square root of arg.
 
constexpr auto sqrt (long double arg) noexcept -> long double
 Computes the square root of arg.
 
template<integral T>
constexpr auto sqrt (T arg) noexcept -> double
 Computes the square root of arg.
 
constexpr auto sqrtf (float arg) noexcept -> float
 Computes the square root of arg.
 
constexpr auto sqrtl (long double arg) noexcept -> long double
 Computes the square root of arg.
 
constexpr auto acos (float arg) noexcept -> float
 
constexpr auto acosf (float arg) noexcept -> float
 
constexpr auto acos (double arg) noexcept -> double
 
constexpr auto acos (long double arg) noexcept -> long double
 
constexpr auto acosl (long double arg) noexcept -> long double
 
constexpr auto acos (integral auto arg) noexcept -> double
 
constexpr auto acosh (float arg) noexcept -> float
 
constexpr auto acoshf (float arg) noexcept -> float
 
constexpr auto acosh (double arg) noexcept -> double
 
constexpr auto acosh (long double arg) noexcept -> long double
 
constexpr auto acoshl (long double arg) noexcept -> long double
 
constexpr auto acosh (integral auto arg) noexcept -> double
 
constexpr auto asin (float arg) noexcept -> float
 
constexpr auto asinf (float arg) noexcept -> float
 
constexpr auto asin (double arg) noexcept -> double
 
constexpr auto asin (long double arg) noexcept -> long double
 
constexpr auto asinl (long double arg) noexcept -> long double
 
constexpr auto asin (integral auto arg) noexcept -> double
 
constexpr auto asinh (float arg) noexcept -> float
 
constexpr auto asinhf (float arg) noexcept -> float
 
constexpr auto asinh (double arg) noexcept -> double
 
constexpr auto asinh (long double arg) noexcept -> long double
 
constexpr auto asinhl (long double arg) noexcept -> long double
 
constexpr auto asinh (integral auto arg) noexcept -> double
 
constexpr auto atan (float arg) noexcept -> float
 
constexpr auto atanf (float arg) noexcept -> float
 
constexpr auto atan (double arg) noexcept -> double
 
constexpr auto atan (long double arg) noexcept -> long double
 
constexpr auto atanl (long double arg) noexcept -> long double
 
constexpr auto atan (integral auto arg) noexcept -> double
 
constexpr auto atan2 (float x, float y) noexcept -> float
 
constexpr auto atan2f (float x, float y) noexcept -> float
 
constexpr auto atan2 (double x, double y) noexcept -> double
 
constexpr auto atan2 (long double x, long double y) noexcept -> long double
 
constexpr auto atan2l (long double x, long double y) noexcept -> long double
 
constexpr auto atanh (float arg) noexcept -> float
 
constexpr auto atanhf (float arg) noexcept -> float
 
constexpr auto atanh (double arg) noexcept -> double
 
constexpr auto atanh (long double arg) noexcept -> long double
 
constexpr auto atanhl (long double arg) noexcept -> long double
 
constexpr auto atanh (integral auto arg) noexcept -> double
 
constexpr auto beta (double x, double y) noexcept -> double
 
constexpr auto betaf (float x, float y) noexcept -> float
 
constexpr auto betal (long double x, long double y) noexcept -> long double
 
constexpr auto ceil (float arg) noexcept -> float
 
constexpr auto ceilf (float arg) noexcept -> float
 
constexpr auto ceil (double arg) noexcept -> double
 
constexpr auto ceil (long double arg) noexcept -> long double
 
constexpr auto ceill (long double arg) noexcept -> long double
 
constexpr auto ceil (integral auto arg) noexcept -> double
 
constexpr auto copysign (float mag, float sgn) -> float
 
constexpr auto copysignf (float mag, float sgn) -> float
 
constexpr auto copysign (double mag, double sgn) -> double
 
constexpr auto copysign (long double mag, long double sgn) -> long double
 
constexpr auto copysignl (long double mag, long double sgn) -> long double
 
constexpr auto cos (float arg) noexcept -> float
 
constexpr auto cosf (float arg) noexcept -> float
 
constexpr auto cos (double arg) noexcept -> double
 
constexpr auto cos (long double arg) noexcept -> long double
 
constexpr auto cosl (long double arg) noexcept -> long double
 
constexpr auto cos (integral auto arg) noexcept -> double
 
constexpr auto cosh (float arg) noexcept -> float
 
constexpr auto coshf (float arg) noexcept -> float
 
constexpr auto cosh (double arg) noexcept -> double
 
constexpr auto cosh (long double arg) noexcept -> long double
 
constexpr auto coshl (long double arg) noexcept -> long double
 
constexpr auto cosh (integral auto arg) noexcept -> double
 
constexpr auto erf (float arg) noexcept -> float
 
constexpr auto erff (float arg) noexcept -> float
 
constexpr auto erf (double arg) noexcept -> double
 
constexpr auto erf (long double arg) noexcept -> long double
 
constexpr auto erfl (long double arg) noexcept -> long double
 
constexpr auto erf (integral auto arg) noexcept -> double
 
constexpr auto exp (float arg) noexcept -> float
 
constexpr auto expf (float arg) noexcept -> float
 
constexpr auto exp (double arg) noexcept -> double
 
constexpr auto exp (long double arg) noexcept -> long double
 
constexpr auto expl (long double arg) noexcept -> long double
 
constexpr auto exp (integral auto arg) noexcept -> double
 
constexpr auto fdim (float x, float y) noexcept -> float
 
constexpr auto fdimf (float x, float y) noexcept -> float
 
constexpr auto fdim (double x, double y) noexcept -> double
 
constexpr auto fdim (long double x, long double y) noexcept -> long double
 
constexpr auto fdiml (long double x, long double y) noexcept -> long double
 
constexpr auto floor (float arg) noexcept -> float
 
constexpr auto floorf (float arg) noexcept -> float
 
constexpr auto floor (double arg) noexcept -> double
 
constexpr auto floor (long double arg) noexcept -> long double
 
constexpr auto floorl (long double arg) noexcept -> long double
 
constexpr auto floor (integral auto arg) noexcept -> double
 
constexpr auto fma (float x, float y, float z) noexcept -> float
 
constexpr auto fmaf (float x, float y, float z) noexcept -> float
 
constexpr auto fma (double x, double y, double z) noexcept -> double
 
constexpr auto fma (long double x, long double y, long double z) noexcept -> long double
 
constexpr auto fmal (long double x, long double y, long double z) noexcept -> long double
 
constexpr auto fmax (float x, float y) noexcept -> float
 
constexpr auto fmaxf (float x, float y) noexcept -> float
 
constexpr auto fmax (double x, double y) noexcept -> double
 
constexpr auto fmax (long double x, long double y) noexcept -> long double
 
constexpr auto fmaxl (long double x, long double y) noexcept -> long double
 
constexpr auto fmin (float x, float y) noexcept -> float
 
constexpr auto fminf (float x, float y) noexcept -> float
 
constexpr auto fmin (double x, double y) noexcept -> double
 
constexpr auto fmin (long double x, long double y) noexcept -> long double
 
constexpr auto fminl (long double x, long double y) noexcept -> long double
 
constexpr auto fmod (float x, float y) noexcept -> float
 
constexpr auto fmodf (float x, float y) noexcept -> float
 
constexpr auto fmod (double x, double y) noexcept -> double
 
constexpr auto fmod (long double x, long double y) noexcept -> long double
 
constexpr auto fmodl (long double x, long double y) noexcept -> long double
 
constexpr auto hypot (float x, float y) noexcept -> float
 
constexpr auto hypotf (float x, float y) noexcept -> float
 
constexpr auto hypot (double x, double y) noexcept -> double
 
constexpr auto hypot (long double x, long double y) noexcept -> long double
 
constexpr auto hypotl (long double x, long double y) noexcept -> long double
 
constexpr auto hypot (float x, float y, float z) noexcept -> float
 
constexpr auto hypot (double x, double y, double z) noexcept -> double
 
constexpr auto hypot (long double x, long double y, long double z) noexcept -> long double
 
constexpr auto log (float v) noexcept -> float
 
constexpr auto logf (float v) noexcept -> float
 
constexpr auto log (double v) noexcept -> double
 
constexpr auto log (long double v) noexcept -> long double
 
constexpr auto logl (long double v) noexcept -> long double
 
constexpr auto log (integral auto arg) noexcept -> double
 
constexpr auto log10 (float arg) noexcept -> float
 
constexpr auto log10f (float arg) noexcept -> float
 
constexpr auto log10 (double arg) noexcept -> double
 
constexpr auto log10 (long double arg) noexcept -> long double
 
constexpr auto log10l (long double arg) noexcept -> long double
 
constexpr auto log10 (integral auto arg) noexcept -> double
 
constexpr auto log1p (float v) noexcept -> float
 
constexpr auto log1pf (float v) noexcept -> float
 
constexpr auto log1p (double v) noexcept -> double
 
constexpr auto log1p (long double v) noexcept -> long double
 
constexpr auto log1pl (long double v) noexcept -> long double
 
constexpr auto log1p (integral auto arg) noexcept -> double
 
constexpr auto log2 (float arg) noexcept -> float
 
constexpr auto log2f (float arg) noexcept -> float
 
constexpr auto log2 (double arg) noexcept -> double
 
constexpr auto log2 (long double arg) noexcept -> long double
 
constexpr auto log2l (long double arg) noexcept -> long double
 
constexpr auto log2 (integral auto arg) noexcept -> double
 
constexpr auto nanf (char const *arg) noexcept -> float
 
constexpr auto nan (char const *arg) noexcept -> double
 
constexpr auto nanl (char const *arg) noexcept -> long double
 
constexpr auto nextafter (float from, float to) noexcept -> float
 
constexpr auto nextafterf (float from, float to) noexcept -> float
 
constexpr auto nextafter (double from, double to) noexcept -> double
 
constexpr auto round (float arg) noexcept -> float
 
constexpr auto roundf (float arg) noexcept -> float
 
constexpr auto round (double arg) noexcept -> double
 
constexpr auto round (long double arg) noexcept -> long double
 
constexpr auto roundl (long double arg) noexcept -> long double
 
constexpr auto round (integral auto arg) noexcept -> double
 
constexpr auto sin (float arg) noexcept -> float
 
constexpr auto sinf (float arg) noexcept -> float
 
constexpr auto sin (double arg) noexcept -> double
 
constexpr auto sin (long double arg) noexcept -> long double
 
constexpr auto sinl (long double arg) noexcept -> long double
 
constexpr auto sin (integral auto arg) noexcept -> double
 
constexpr auto tan (float arg) noexcept -> float
 
constexpr auto tanf (float arg) noexcept -> float
 
constexpr auto tan (double arg) noexcept -> double
 
constexpr auto tan (long double arg) noexcept -> long double
 
constexpr auto tanl (long double arg) noexcept -> long double
 
constexpr auto tan (integral auto arg) noexcept -> double
 
constexpr auto tanh (float arg) noexcept -> float
 
constexpr auto tanhf (float arg) noexcept -> float
 
constexpr auto tanh (double arg) noexcept -> double
 
constexpr auto tanh (long double arg) noexcept -> long double
 
constexpr auto tanhl (long double arg) noexcept -> long double
 
constexpr auto tanh (integral auto arg) noexcept -> double
 
constexpr auto tgamma (float arg) noexcept -> float
 
constexpr auto tgammaf (float arg) noexcept -> float
 
constexpr auto tgamma (double arg) noexcept -> double
 
constexpr auto tgamma (long double arg) noexcept -> long double
 
constexpr auto tgammal (long double arg) noexcept -> long double
 
constexpr auto tgamma (integral auto arg) noexcept -> double
 
constexpr auto trunc (float arg) noexcept -> float
 
constexpr auto truncf (float arg) noexcept -> float
 
constexpr auto trunc (double arg) noexcept -> double
 
constexpr auto trunc (long double arg) noexcept -> long double
 
constexpr auto truncl (long double arg) noexcept -> long double
 
constexpr auto trunc (integral auto arg) noexcept -> double
 

Detailed Description

Common mathematics functions.

Typedef Documentation

◆ double_t

Most efficient floating-point type at least as wide as double.

◆ float_t

Most efficient floating-point type at least as wide as float.

Function Documentation

◆ acos() [1/4]

constexpr auto acos ( double  arg) -> double
constexprnoexcept

Computes the principal value of the arc cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acos

◆ acos() [2/4]

constexpr auto acos ( float  arg) -> float
constexprnoexcept

Computes the principal value of the arc cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acos

◆ acos() [3/4]

constexpr auto acos ( integral auto  arg) -> double
constexprnoexcept

Computes the principal value of the arc cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acos

◆ acos() [4/4]

constexpr auto acos ( long double  arg) -> long double
constexprnoexcept

Computes the principal value of the arc cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acos

◆ acosf()

constexpr auto acosf ( float  arg) -> float
constexprnoexcept

Computes the principal value of the arc cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acos

◆ acosh() [1/4]

constexpr auto acosh ( double  arg) -> double
constexprnoexcept

Computes the inverse hyperbolic cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acosh

◆ acosh() [2/4]

constexpr auto acosh ( float  arg) -> float
constexprnoexcept

Computes the inverse hyperbolic cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acosh

◆ acosh() [3/4]

constexpr auto acosh ( integral auto  arg) -> double
constexprnoexcept

Computes the inverse hyperbolic cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acosh

◆ acosh() [4/4]

constexpr auto acosh ( long double  arg) -> long double
constexprnoexcept

Computes the inverse hyperbolic cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acosh

◆ acoshf()

constexpr auto acoshf ( float  arg) -> float
constexprnoexcept

Computes the inverse hyperbolic cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acosh

◆ acoshl()

constexpr auto acoshl ( long double  arg) -> long double
constexprnoexcept

Computes the inverse hyperbolic cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acosh

◆ acosl()

constexpr auto acosl ( long double  arg) -> long double
constexprnoexcept

Computes the principal value of the arc cosine of arg.

https://en.cppreference.com/w/cpp/numeric/math/acos

◆ asin() [1/4]

constexpr auto asin ( double  arg) -> double
constexprnoexcept

Computes the principal value of the arc sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asin

◆ asin() [2/4]

constexpr auto asin ( float  arg) -> float
constexprnoexcept

Computes the principal value of the arc sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asin

◆ asin() [3/4]

constexpr auto asin ( integral auto  arg) -> double
constexprnoexcept

Computes the principal value of the arc sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asin

◆ asin() [4/4]

constexpr auto asin ( long double  arg) -> long double
constexprnoexcept

Computes the principal value of the arc sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asin

◆ asinf()

constexpr auto asinf ( float  arg) -> float
constexprnoexcept

Computes the principal value of the arc sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asin

◆ asinh() [1/4]

constexpr auto asinh ( double  arg) -> double
constexprnoexcept

Computes the inverse hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asinh

◆ asinh() [2/4]

constexpr auto asinh ( float  arg) -> float
constexprnoexcept

Computes the inverse hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asinh

◆ asinh() [3/4]

constexpr auto asinh ( integral auto  arg) -> double
constexprnoexcept

Computes the inverse hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asinh

◆ asinh() [4/4]

constexpr auto asinh ( long double  arg) -> long double
constexprnoexcept

Computes the inverse hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asinh

◆ asinhf()

constexpr auto asinhf ( float  arg) -> float
constexprnoexcept

Computes the inverse hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asinh

◆ asinhl()

constexpr auto asinhl ( long double  arg) -> long double
constexprnoexcept

Computes the inverse hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asinh

◆ asinl()

constexpr auto asinl ( long double  arg) -> long double
constexprnoexcept

Computes the principal value of the arc sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/asin

◆ atan() [1/4]

constexpr auto atan ( double  arg) -> double
constexprnoexcept

Computes the principal value of the arc tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atan

◆ atan() [2/4]

constexpr auto atan ( float  arg) -> float
constexprnoexcept

Computes the principal value of the arc tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atan

◆ atan() [3/4]

constexpr auto atan ( integral auto  arg) -> double
constexprnoexcept

Computes the principal value of the arc tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atan

◆ atan() [4/4]

constexpr auto atan ( long double  arg) -> long double
constexprnoexcept

Computes the principal value of the arc tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atan

◆ atan2() [1/3]

constexpr auto atan2 ( double  x,
double  y 
) -> double
constexprnoexcept

Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.

https://en.cppreference.com/w/cpp/numeric/math/atan2

◆ atan2() [2/3]

constexpr auto atan2 ( float  x,
float  y 
) -> float
constexprnoexcept

Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.

https://en.cppreference.com/w/cpp/numeric/math/atan2

◆ atan2() [3/3]

constexpr auto atan2 ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.

https://en.cppreference.com/w/cpp/numeric/math/atan2

◆ atan2f()

constexpr auto atan2f ( float  x,
float  y 
) -> float
constexprnoexcept

Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.

https://en.cppreference.com/w/cpp/numeric/math/atan2

◆ atan2l()

constexpr auto atan2l ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.

https://en.cppreference.com/w/cpp/numeric/math/atan2

◆ atanf()

constexpr auto atanf ( float  arg) -> float
constexprnoexcept

Computes the principal value of the arc tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atan

◆ atanh() [1/4]

constexpr auto atanh ( double  arg) -> double
constexprnoexcept

Computes the inverse hyperbolic tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atanh

◆ atanh() [2/4]

constexpr auto atanh ( float  arg) -> float
constexprnoexcept

Computes the inverse hyperbolic tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atanh

◆ atanh() [3/4]

constexpr auto atanh ( integral auto  arg) -> double
constexprnoexcept

Computes the inverse hyperbolic tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atanh

◆ atanh() [4/4]

constexpr auto atanh ( long double  arg) -> long double
constexprnoexcept

Computes the inverse hyperbolic tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atanh

◆ atanhf()

constexpr auto atanhf ( float  arg) -> float
constexprnoexcept

Computes the inverse hyperbolic tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atanh

◆ atanhl()

constexpr auto atanhl ( long double  arg) -> long double
constexprnoexcept

Computes the inverse hyperbolic tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atanh

◆ atanl()

constexpr auto atanl ( long double  arg) -> long double
constexprnoexcept

Computes the principal value of the arc tangent of arg.

https://en.cppreference.com/w/cpp/numeric/math/atan

◆ beta()

constexpr auto beta ( double  x,
double  y 
) -> double
constexprnoexcept

◆ betaf()

constexpr auto betaf ( float  x,
float  y 
) -> float
constexprnoexcept

◆ betal()

constexpr auto betal ( long double  x,
long double  y 
) -> long double
constexprnoexcept

◆ ceil() [1/4]

constexpr auto ceil ( double  arg) -> double
constexprnoexcept

Computes the smallest integer value not less than arg.

https://en.cppreference.com/w/cpp/numeric/math/ceil

◆ ceil() [2/4]

constexpr auto ceil ( float  arg) -> float
constexprnoexcept

Computes the smallest integer value not less than arg.

https://en.cppreference.com/w/cpp/numeric/math/ceil

◆ ceil() [3/4]

constexpr auto ceil ( integral auto  arg) -> double
constexprnoexcept

Computes the smallest integer value not less than arg.

https://en.cppreference.com/w/cpp/numeric/math/ceil

◆ ceil() [4/4]

constexpr auto ceil ( long double  arg) -> long double
constexprnoexcept

Computes the smallest integer value not less than arg.

https://en.cppreference.com/w/cpp/numeric/math/ceil

◆ ceilf()

constexpr auto ceilf ( float  arg) -> float
constexprnoexcept

Computes the smallest integer value not less than arg.

https://en.cppreference.com/w/cpp/numeric/math/ceil

◆ ceill()

constexpr auto ceill ( long double  arg) -> long double
constexprnoexcept

Computes the smallest integer value not less than arg.

https://en.cppreference.com/w/cpp/numeric/math/ceil

◆ copysign() [1/3]

constexpr auto copysign ( double  mag,
double  sgn 
) -> double
constexpr

Composes a floating point value with the magnitude of mag and the sign of sgn.

etl::copysign is the only portable way to manipulate the sign of a NaN value (to examine the sign of a NaN, signbit may also be used)

https://en.cppreference.com/w/cpp/numeric/math/copysign

Returns
If no errors occur, the floating point value with the magnitude of mag and the sign of sgn is returned. If mag is NaN, then NaN with the sign of sgn is returned. If sgn is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations.

◆ copysign() [2/3]

constexpr auto copysign ( float  mag,
float  sgn 
) -> float
constexpr

Composes a floating point value with the magnitude of mag and the sign of sgn.

etl::copysign is the only portable way to manipulate the sign of a NaN value (to examine the sign of a NaN, signbit may also be used)

https://en.cppreference.com/w/cpp/numeric/math/copysign

Returns
If no errors occur, the floating point value with the magnitude of mag and the sign of sgn is returned. If mag is NaN, then NaN with the sign of sgn is returned. If sgn is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations.

◆ copysign() [3/3]

constexpr auto copysign ( long double  mag,
long double  sgn 
) -> long double
constexpr

Composes a floating point value with the magnitude of mag and the sign of sgn.

etl::copysign is the only portable way to manipulate the sign of a NaN value (to examine the sign of a NaN, signbit may also be used)

https://en.cppreference.com/w/cpp/numeric/math/copysign

Returns
If no errors occur, the floating point value with the magnitude of mag and the sign of sgn is returned. If mag is NaN, then NaN with the sign of sgn is returned. If sgn is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations.

◆ copysignf()

constexpr auto copysignf ( float  mag,
float  sgn 
) -> float
constexpr

Composes a floating point value with the magnitude of mag and the sign of sgn.

etl::copysign is the only portable way to manipulate the sign of a NaN value (to examine the sign of a NaN, signbit may also be used)

https://en.cppreference.com/w/cpp/numeric/math/copysign

Returns
If no errors occur, the floating point value with the magnitude of mag and the sign of sgn is returned. If mag is NaN, then NaN with the sign of sgn is returned. If sgn is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations.

◆ copysignl()

constexpr auto copysignl ( long double  mag,
long double  sgn 
) -> long double
constexpr

Composes a floating point value with the magnitude of mag and the sign of sgn.

etl::copysign is the only portable way to manipulate the sign of a NaN value (to examine the sign of a NaN, signbit may also be used)

https://en.cppreference.com/w/cpp/numeric/math/copysign

Returns
If no errors occur, the floating point value with the magnitude of mag and the sign of sgn is returned. If mag is NaN, then NaN with the sign of sgn is returned. If sgn is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations.

◆ cos() [1/4]

constexpr auto cos ( double  arg) -> double
constexprnoexcept

Computes the cosine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/cos

◆ cos() [2/4]

constexpr auto cos ( float  arg) -> float
constexprnoexcept

Computes the cosine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/cos

◆ cos() [3/4]

constexpr auto cos ( integral auto  arg) -> double
constexprnoexcept

Computes the cosine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/cos

◆ cos() [4/4]

constexpr auto cos ( long double  arg) -> long double
constexprnoexcept

Computes the cosine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/cos

◆ cosf()

constexpr auto cosf ( float  arg) -> float
constexprnoexcept

Computes the cosine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/cos

◆ cosh() [1/4]

constexpr auto cosh ( double  arg) -> double
constexprnoexcept

Computes the hyperbolic cosine of arg

https://en.cppreference.com/w/cpp/numeric/math/cosh

◆ cosh() [2/4]

constexpr auto cosh ( float  arg) -> float
constexprnoexcept

Computes the hyperbolic cosine of arg

https://en.cppreference.com/w/cpp/numeric/math/cosh

◆ cosh() [3/4]

constexpr auto cosh ( integral auto  arg) -> double
constexprnoexcept

Computes the hyperbolic cosine of arg

https://en.cppreference.com/w/cpp/numeric/math/cosh

◆ cosh() [4/4]

constexpr auto cosh ( long double  arg) -> long double
constexprnoexcept

Computes the hyperbolic cosine of arg

https://en.cppreference.com/w/cpp/numeric/math/cosh

◆ coshf()

constexpr auto coshf ( float  arg) -> float
constexprnoexcept

Computes the hyperbolic cosine of arg

https://en.cppreference.com/w/cpp/numeric/math/cosh

◆ coshl()

constexpr auto coshl ( long double  arg) -> long double
constexprnoexcept

Computes the hyperbolic cosine of arg

https://en.cppreference.com/w/cpp/numeric/math/cosh

◆ cosl()

constexpr auto cosl ( long double  arg) -> long double
constexprnoexcept

Computes the cosine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/cos

◆ erf() [1/4]

constexpr auto erf ( double  arg) -> double
constexprnoexcept

Computes the error function of arg.

https://en.cppreference.com/w/cpp/numeric/math/erf

◆ erf() [2/4]

constexpr auto erf ( float  arg) -> float
constexprnoexcept

Computes the error function of arg.

https://en.cppreference.com/w/cpp/numeric/math/erf

◆ erf() [3/4]

constexpr auto erf ( integral auto  arg) -> double
constexprnoexcept

Computes the error function of arg.

https://en.cppreference.com/w/cpp/numeric/math/erf

◆ erf() [4/4]

constexpr auto erf ( long double  arg) -> long double
constexprnoexcept

Computes the error function of arg.

https://en.cppreference.com/w/cpp/numeric/math/erf

◆ erff()

constexpr auto erff ( float  arg) -> float
constexprnoexcept

Computes the error function of arg.

https://en.cppreference.com/w/cpp/numeric/math/erf

◆ erfl()

constexpr auto erfl ( long double  arg) -> long double
constexprnoexcept

Computes the error function of arg.

https://en.cppreference.com/w/cpp/numeric/math/erf

◆ exp() [1/4]

constexpr auto exp ( double  arg) -> double
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/exp

◆ exp() [2/4]

constexpr auto exp ( float  arg) -> float
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/exp

◆ exp() [3/4]

constexpr auto exp ( integral auto  arg) -> double
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/exp

◆ exp() [4/4]

constexpr auto exp ( long double  arg) -> long double
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/exp

◆ expf()

constexpr auto expf ( float  arg) -> float
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/exp

◆ expl()

constexpr auto expl ( long double  arg) -> long double
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/exp

◆ fdim() [1/3]

constexpr auto fdim ( double  x,
double  y 
) -> double
constexprnoexcept

Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0.

https://en.cppreference.com/w/cpp/numeric/math/fdim

◆ fdim() [2/3]

constexpr auto fdim ( float  x,
float  y 
) -> float
constexprnoexcept

Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0.

https://en.cppreference.com/w/cpp/numeric/math/fdim

◆ fdim() [3/3]

constexpr auto fdim ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0.

https://en.cppreference.com/w/cpp/numeric/math/fdim

◆ fdimf()

constexpr auto fdimf ( float  x,
float  y 
) -> float
constexprnoexcept

Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0.

https://en.cppreference.com/w/cpp/numeric/math/fdim

◆ fdiml()

constexpr auto fdiml ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0.

https://en.cppreference.com/w/cpp/numeric/math/fdim

◆ floor() [1/4]

constexpr auto floor ( double  arg) -> double
constexprnoexcept

Computes the largest integer value not greater than arg.

https://en.cppreference.com/w/cpp/numeric/math/floor

◆ floor() [2/4]

constexpr auto floor ( float  arg) -> float
constexprnoexcept

Computes the largest integer value not greater than arg.

https://en.cppreference.com/w/cpp/numeric/math/floor

◆ floor() [3/4]

constexpr auto floor ( integral auto  arg) -> double
constexprnoexcept

Computes the largest integer value not greater than arg.

https://en.cppreference.com/w/cpp/numeric/math/floor

◆ floor() [4/4]

constexpr auto floor ( long double  arg) -> long double
constexprnoexcept

Computes the largest integer value not greater than arg.

https://en.cppreference.com/w/cpp/numeric/math/floor

◆ floorf()

constexpr auto floorf ( float  arg) -> float
constexprnoexcept

Computes the largest integer value not greater than arg.

https://en.cppreference.com/w/cpp/numeric/math/floor

◆ floorl()

constexpr auto floorl ( long double  arg) -> long double
constexprnoexcept

Computes the largest integer value not greater than arg.

https://en.cppreference.com/w/cpp/numeric/math/floor

◆ fma() [1/3]

constexpr auto fma ( double  x,
double  y,
double  z 
) -> double
constexprnoexcept

Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type.

https://en.cppreference.com/w/cpp/numeric/math/fma

◆ fma() [2/3]

constexpr auto fma ( float  x,
float  y,
float  z 
) -> float
constexprnoexcept

Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type.

https://en.cppreference.com/w/cpp/numeric/math/fma

◆ fma() [3/3]

constexpr auto fma ( long double  x,
long double  y,
long double  z 
) -> long double
constexprnoexcept

Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type.

https://en.cppreference.com/w/cpp/numeric/math/fma

◆ fmaf()

constexpr auto fmaf ( float  x,
float  y,
float  z 
) -> float
constexprnoexcept

Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type.

https://en.cppreference.com/w/cpp/numeric/math/fma

◆ fmal()

constexpr auto fmal ( long double  x,
long double  y,
long double  z 
) -> long double
constexprnoexcept

Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type.

https://en.cppreference.com/w/cpp/numeric/math/fma

◆ fmax() [1/3]

constexpr auto fmax ( double  x,
double  y 
) -> double
constexprnoexcept

Returns the larger of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen)

https://en.cppreference.com/w/cpp/numeric/math/fmax

◆ fmax() [2/3]

constexpr auto fmax ( float  x,
float  y 
) -> float
constexprnoexcept

Returns the larger of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen)

https://en.cppreference.com/w/cpp/numeric/math/fmax

◆ fmax() [3/3]

constexpr auto fmax ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Returns the larger of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen)

https://en.cppreference.com/w/cpp/numeric/math/fmax

◆ fmaxf()

constexpr auto fmaxf ( float  x,
float  y 
) -> float
constexprnoexcept

Returns the larger of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen)

https://en.cppreference.com/w/cpp/numeric/math/fmax

◆ fmaxl()

constexpr auto fmaxl ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Returns the larger of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen)

https://en.cppreference.com/w/cpp/numeric/math/fmax

◆ fmin() [1/3]

constexpr auto fmin ( double  x,
double  y 
) -> double
constexprnoexcept

Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen)

https://en.cppreference.com/w/cpp/numeric/math/fmin

◆ fmin() [2/3]

constexpr auto fmin ( float  x,
float  y 
) -> float
constexprnoexcept

Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen)

https://en.cppreference.com/w/cpp/numeric/math/fmin

◆ fmin() [3/3]

constexpr auto fmin ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen)

https://en.cppreference.com/w/cpp/numeric/math/fmin

◆ fminf()

constexpr auto fminf ( float  x,
float  y 
) -> float
constexprnoexcept

Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen)

https://en.cppreference.com/w/cpp/numeric/math/fmin

◆ fminl()

constexpr auto fminl ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen)

https://en.cppreference.com/w/cpp/numeric/math/fmin

◆ fmod() [1/3]

constexpr auto fmod ( double  x,
double  y 
) -> double
constexprnoexcept

Computes the floating-point remainder of the division operation x/y.

https://en.cppreference.com/w/cpp/numeric/math/fmod

◆ fmod() [2/3]

constexpr auto fmod ( float  x,
float  y 
) -> float
constexprnoexcept

Computes the floating-point remainder of the division operation x/y.

https://en.cppreference.com/w/cpp/numeric/math/fmod

◆ fmod() [3/3]

constexpr auto fmod ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Computes the floating-point remainder of the division operation x/y.

https://en.cppreference.com/w/cpp/numeric/math/fmod

◆ fmodf()

constexpr auto fmodf ( float  x,
float  y 
) -> float
constexprnoexcept

Computes the floating-point remainder of the division operation x/y.

https://en.cppreference.com/w/cpp/numeric/math/fmod

◆ fmodl()

constexpr auto fmodl ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Computes the floating-point remainder of the division operation x/y.

https://en.cppreference.com/w/cpp/numeric/math/fmod

◆ hypot() [1/6]

constexpr auto hypot ( double  x,
double  y 
) -> double
constexprnoexcept

Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at intermediate stages of the computation.

  • hypot(x,y) is INF if x or y is +INF or -INF; else
  • hypot(x,y) is NAN if x or y is NAN.

https://en.cppreference.com/w/cpp/numeric/math/hypot

◆ hypot() [2/6]

constexpr auto hypot ( double  x,
double  y,
double  z 
) -> double
constexprnoexcept

Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at intermediate stages of the computation.

  • hypot(x,y) is INF if x or y is +INF or -INF; else
  • hypot(x,y) is NAN if x or y is NAN.

https://en.cppreference.com/w/cpp/numeric/math/hypot

◆ hypot() [3/6]

constexpr auto hypot ( float  x,
float  y 
) -> float
constexprnoexcept

Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at intermediate stages of the computation.

  • hypot(x,y) is INF if x or y is +INF or -INF; else
  • hypot(x,y) is NAN if x or y is NAN.

https://en.cppreference.com/w/cpp/numeric/math/hypot

◆ hypot() [4/6]

constexpr auto hypot ( float  x,
float  y,
float  z 
) -> float
constexprnoexcept

Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at intermediate stages of the computation.

  • hypot(x,y) is INF if x or y is +INF or -INF; else
  • hypot(x,y) is NAN if x or y is NAN.

https://en.cppreference.com/w/cpp/numeric/math/hypot

◆ hypot() [5/6]

constexpr auto hypot ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at intermediate stages of the computation.

  • hypot(x,y) is INF if x or y is +INF or -INF; else
  • hypot(x,y) is NAN if x or y is NAN.

https://en.cppreference.com/w/cpp/numeric/math/hypot

◆ hypot() [6/6]

constexpr auto hypot ( long double  x,
long double  y,
long double  z 
) -> long double
constexprnoexcept

Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at intermediate stages of the computation.

  • hypot(x,y) is INF if x or y is +INF or -INF; else
  • hypot(x,y) is NAN if x or y is NAN.

https://en.cppreference.com/w/cpp/numeric/math/hypot

◆ hypotf()

constexpr auto hypotf ( float  x,
float  y 
) -> float
constexprnoexcept

Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at intermediate stages of the computation.

  • hypot(x,y) is INF if x or y is +INF or -INF; else
  • hypot(x,y) is NAN if x or y is NAN.

https://en.cppreference.com/w/cpp/numeric/math/hypot

◆ hypotl()

constexpr auto hypotl ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at intermediate stages of the computation.

  • hypot(x,y) is INF if x or y is +INF or -INF; else
  • hypot(x,y) is NAN if x or y is NAN.

https://en.cppreference.com/w/cpp/numeric/math/hypot

◆ isfinite() [1/3]

constexpr auto isfinite ( double  arg) -> bool
constexpr

◆ isfinite() [2/3]

constexpr auto isfinite ( float  arg) -> bool
constexpr

Determines if the given floating point number arg has finite value i.e. it is normal, subnormal or zero, but not infinite or NaN.

https://en.cppreference.com/w/cpp/numeric/math/isfinite

◆ isfinite() [3/3]

constexpr auto isfinite ( long double  arg) -> bool
constexpr

◆ isinf() [1/4]

constexpr auto isinf ( double  arg) -> bool
constexpr

◆ isinf() [2/4]

constexpr auto isinf ( float  arg) -> bool
constexpr

Determines if the given floating point number arg is a positive or negative infinity.

https://en.cppreference.com/w/cpp/numeric/math/isinf

◆ isinf() [3/4]

template<etl::integral Int>
constexpr auto isinf ( Int  arg) -> bool
constexpr

◆ isinf() [4/4]

constexpr auto isinf ( long double  arg) -> bool
constexpr

◆ isnan() [1/4]

constexpr auto isnan ( double  arg) -> bool
constexpr

◆ isnan() [2/4]

constexpr auto isnan ( float  arg) -> bool
constexpr

Determines if the given floating point number arg is a not-a-number (NaN) value.

https://en.cppreference.com/w/cpp/numeric/math/isnan

◆ isnan() [3/4]

template<integral Int>
constexpr auto isnan ( Int  arg) -> bool
constexpr

Determines if the given floating point number arg is a not-a-number (NaN) value.

https://en.cppreference.com/w/cpp/numeric/math/isnan

◆ isnan() [4/4]

constexpr auto isnan ( long double  arg) -> bool
constexpr

◆ lerp()

template<floating_point Float>
constexpr auto lerp ( Float  a,
Float  b,
Float  t 
) -> Float
constexprnoexcept

Computes a+t(b−a), i.e. the linear interpolation between a and b for the parameter t (or extrapolation, when t is outside the range [0,1]).

https://en.cppreference.com/w/cpp/numeric/lerp

◆ lgamma() [1/4]

constexpr auto lgamma ( double  arg) -> double
constexprnoexcept

Computes the natural logarithm of the absolute value of the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/lgamma

◆ lgamma() [2/4]

constexpr auto lgamma ( float  arg) -> float
constexprnoexcept

Computes the natural logarithm of the absolute value of the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/lgamma

◆ lgamma() [3/4]

constexpr auto lgamma ( long double  arg) -> long double
constexprnoexcept

Computes the natural logarithm of the absolute value of the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/lgamma

◆ lgamma() [4/4]

template<integral T>
constexpr auto lgamma ( T  arg) -> double
constexprnoexcept

Computes the natural logarithm of the absolute value of the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/lgamma

◆ lgammaf()

constexpr auto lgammaf ( float  arg) -> float
constexprnoexcept

Computes the natural logarithm of the absolute value of the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/lgamma

◆ lgammal()

constexpr auto lgammal ( long double  arg) -> long double
constexprnoexcept

Computes the natural logarithm of the absolute value of the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/lgamma

◆ llrint() [1/4]

constexpr auto llrint ( double  arg) -> long long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ llrint() [2/4]

constexpr auto llrint ( float  arg) -> long long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ llrint() [3/4]

constexpr auto llrint ( long double  arg) -> long long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ llrint() [4/4]

template<integral T>
constexpr auto llrint ( T  arg) -> long long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ llrintf()

constexpr auto llrintf ( float  arg) -> long long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ llrintl()

constexpr auto llrintl ( long double  arg) -> long long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ log() [1/4]

constexpr auto log ( double  v) -> double
constexprnoexcept

Computes the natural (base e) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log

◆ log() [2/4]

constexpr auto log ( float  v) -> float
constexprnoexcept

Computes the natural (base e) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log

◆ log() [3/4]

constexpr auto log ( integral auto  arg) -> double
constexprnoexcept

Computes the natural (base e) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log

◆ log() [4/4]

constexpr auto log ( long double  v) -> long double
constexprnoexcept

Computes the natural (base e) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log

◆ log10() [1/4]

constexpr auto log10 ( double  arg) -> double
constexprnoexcept

Computes the binary (base-10) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log10

◆ log10() [2/4]

constexpr auto log10 ( float  arg) -> float
constexprnoexcept

Computes the binary (base-10) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log10

◆ log10() [3/4]

constexpr auto log10 ( integral auto  arg) -> double
constexprnoexcept

Computes the binary (base-10) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log10

◆ log10() [4/4]

constexpr auto log10 ( long double  arg) -> long double
constexprnoexcept

Computes the binary (base-10) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log10

◆ log10f()

constexpr auto log10f ( float  arg) -> float
constexprnoexcept

Computes the binary (base-10) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log10

◆ log10l()

constexpr auto log10l ( long double  arg) -> long double
constexprnoexcept

Computes the binary (base-10) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log10

◆ log1p() [1/4]

constexpr auto log1p ( double  v) -> double
constexprnoexcept

Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.

https://en.cppreference.com/w/cpp/numeric/math/log1p

◆ log1p() [2/4]

constexpr auto log1p ( float  v) -> float
constexprnoexcept

Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.

https://en.cppreference.com/w/cpp/numeric/math/log1p

◆ log1p() [3/4]

constexpr auto log1p ( integral auto  arg) -> double
constexprnoexcept

Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.

https://en.cppreference.com/w/cpp/numeric/math/log1p

◆ log1p() [4/4]

constexpr auto log1p ( long double  v) -> long double
constexprnoexcept

Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.

https://en.cppreference.com/w/cpp/numeric/math/log1p

◆ log1pf()

constexpr auto log1pf ( float  v) -> float
constexprnoexcept

Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.

https://en.cppreference.com/w/cpp/numeric/math/log1p

◆ log1pl()

constexpr auto log1pl ( long double  v) -> long double
constexprnoexcept

Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.

https://en.cppreference.com/w/cpp/numeric/math/log1p

◆ log2() [1/4]

constexpr auto log2 ( double  arg) -> double
constexprnoexcept

Computes the binary (base-2) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log2

◆ log2() [2/4]

constexpr auto log2 ( float  arg) -> float
constexprnoexcept

Computes the binary (base-2) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log2

◆ log2() [3/4]

constexpr auto log2 ( integral auto  arg) -> double
constexprnoexcept

Computes the binary (base-2) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log2

◆ log2() [4/4]

constexpr auto log2 ( long double  arg) -> long double
constexprnoexcept

Computes the binary (base-2) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log2

◆ log2f()

constexpr auto log2f ( float  arg) -> float
constexprnoexcept

Computes the binary (base-2) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log2

◆ log2l()

constexpr auto log2l ( long double  arg) -> long double
constexprnoexcept

Computes the binary (base-2) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log2

◆ logf()

constexpr auto logf ( float  v) -> float
constexprnoexcept

Computes the natural (base e) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log

◆ logl()

constexpr auto logl ( long double  v) -> long double
constexprnoexcept

Computes the natural (base e) logarithm of arg.

https://en.cppreference.com/w/cpp/numeric/math/log

◆ lrint() [1/4]

constexpr auto lrint ( double  arg) -> long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ lrint() [2/4]

constexpr auto lrint ( float  arg) -> long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ lrint() [3/4]

constexpr auto lrint ( long double  arg) -> long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ lrint() [4/4]

template<integral T>
constexpr auto lrint ( T  arg) -> long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ lrintf()

constexpr auto lrintf ( float  arg) -> long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ lrintl()

constexpr auto lrintl ( long double  arg) -> long
constexprnoexcept

Rounds the floating-point argument arg to an integer value, using the current rounding mode.

◆ nan()

constexpr auto nan ( char const arg) -> double
constexprnoexcept

Converts the implementation-defined character string arg into the corresponding quiet NaN value

Returns the quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs.

https://en.cppreference.com/w/cpp/numeric/math/nan

◆ nanf()

constexpr auto nanf ( char const arg) -> float
constexprnoexcept

Converts the implementation-defined character string arg into the corresponding quiet NaN value

Returns the quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs.

https://en.cppreference.com/w/cpp/numeric/math/nan

◆ nanl()

constexpr auto nanl ( char const arg) -> long double
constexprnoexcept

Converts the implementation-defined character string arg into the corresponding quiet NaN value

Returns the quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs.

https://en.cppreference.com/w/cpp/numeric/math/nan

◆ nextafter() [1/2]

constexpr auto nextafter ( double  from,
double  to 
) -> double
constexprnoexcept

Returns the next representable value of from in the direction of to. If from equals to, to is returned.

ttps://en.cppreference.com/w/cpp/numeric/math/nextafter

◆ nextafter() [2/2]

constexpr auto nextafter ( float  from,
float  to 
) -> float
constexprnoexcept

Returns the next representable value of from in the direction of to. If from equals to, to is returned.

ttps://en.cppreference.com/w/cpp/numeric/math/nextafter

◆ nextafterf()

constexpr auto nextafterf ( float  from,
float  to 
) -> float
constexprnoexcept

Returns the next representable value of from in the direction of to. If from equals to, to is returned.

ttps://en.cppreference.com/w/cpp/numeric/math/nextafter

◆ pow() [1/6]

constexpr auto pow ( double  base,
double  exp 
) -> double
constexpr

Computes the value of base raised to the power exp.

https://en.cppreference.com/w/cpp/numeric/math/pow

◆ pow() [2/6]

constexpr auto pow ( double  base,
int  iexp 
) -> double
constexpr

Computes the value of base raised to the power exp.

https://en.cppreference.com/w/cpp/numeric/math/pow

◆ pow() [3/6]

constexpr auto pow ( float  base,
float  exp 
) -> float
constexpr

Computes the value of base raised to the power exp.

https://en.cppreference.com/w/cpp/numeric/math/pow

◆ pow() [4/6]

constexpr auto pow ( float  base,
int  iexp 
) -> float
constexpr

Computes the value of base raised to the power exp.

https://en.cppreference.com/w/cpp/numeric/math/pow

◆ pow() [5/6]

constexpr auto pow ( long double  base,
int  iexp 
) -> long double
constexpr

Computes the value of base raised to the power exp.

https://en.cppreference.com/w/cpp/numeric/math/pow

◆ pow() [6/6]

constexpr auto pow ( long double  base,
long double  exp 
) -> long double
constexpr

Computes the value of base raised to the power exp.

https://en.cppreference.com/w/cpp/numeric/math/pow

◆ powf()

constexpr auto powf ( float  base,
float  exp 
) -> float
constexpr

Computes the value of base raised to the power exp.

https://en.cppreference.com/w/cpp/numeric/math/pow

◆ powl()

constexpr auto powl ( long double  base,
long double  exp 
) -> long double
constexpr

Computes the value of base raised to the power exp.

https://en.cppreference.com/w/cpp/numeric/math/pow

◆ remainder() [1/3]

constexpr auto remainder ( double  x,
double  y 
) -> double
constexprnoexcept

Computes the remainder of the floating point division operation x/y.

https://en.cppreference.com/w/cpp/numeric/math/remainder

◆ remainder() [2/3]

constexpr auto remainder ( float  x,
float  y 
) -> float
constexprnoexcept

Computes the remainder of the floating point division operation x/y.

https://en.cppreference.com/w/cpp/numeric/math/remainder

◆ remainder() [3/3]

constexpr auto remainder ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Computes the remainder of the floating point division operation x/y.

https://en.cppreference.com/w/cpp/numeric/math/remainder

◆ remainderf()

constexpr auto remainderf ( float  x,
float  y 
) -> float
constexprnoexcept

Computes the remainder of the floating point division operation x/y.

https://en.cppreference.com/w/cpp/numeric/math/remainder

◆ remainderl()

constexpr auto remainderl ( long double  x,
long double  y 
) -> long double
constexprnoexcept

Computes the remainder of the floating point division operation x/y.

https://en.cppreference.com/w/cpp/numeric/math/remainder

◆ rint() [1/4]

constexpr auto rint ( double  arg) -> double
constexprnoexcept

Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.

◆ rint() [2/4]

constexpr auto rint ( float  arg) -> float
constexprnoexcept

Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.

◆ rint() [3/4]

constexpr auto rint ( long double  arg) -> long double
constexprnoexcept

Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.

◆ rint() [4/4]

template<integral T>
constexpr auto rint ( T  arg) -> double
constexprnoexcept

Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.

◆ rintf()

constexpr auto rintf ( float  arg) -> float
constexprnoexcept

Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.

◆ rintl()

constexpr auto rintl ( long double  arg) -> long double
constexprnoexcept

Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.

◆ round() [1/4]

constexpr auto round ( double  arg) -> double
constexprnoexcept

Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.

https://en.cppreference.com/w/cpp/numeric/math/round

◆ round() [2/4]

constexpr auto round ( float  arg) -> float
constexprnoexcept

Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.

https://en.cppreference.com/w/cpp/numeric/math/round

◆ round() [3/4]

constexpr auto round ( integral auto  arg) -> double
constexprnoexcept

Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.

https://en.cppreference.com/w/cpp/numeric/math/round

◆ round() [4/4]

constexpr auto round ( long double  arg) -> long double
constexprnoexcept

Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.

https://en.cppreference.com/w/cpp/numeric/math/round

◆ roundf()

constexpr auto roundf ( float  arg) -> float
constexprnoexcept

Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.

https://en.cppreference.com/w/cpp/numeric/math/round

◆ roundl()

constexpr auto roundl ( long double  arg) -> long double
constexprnoexcept

Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.

https://en.cppreference.com/w/cpp/numeric/math/round

◆ signbit() [1/3]

constexpr auto signbit ( double  arg) -> bool
constexprnoexcept

Determines if the given floating point number arg is negative.

This function detects the sign bit of zeroes, infinities, and NaNs. Along with etl::copysign, etl::signbit is one of the only two portable ways to examine the sign of a NaN.

https://en.cppreference.com/w/cpp/numeric/math/signbit

◆ signbit() [2/3]

constexpr auto signbit ( float  arg) -> bool
constexprnoexcept

Determines if the given floating point number arg is negative.

This function detects the sign bit of zeroes, infinities, and NaNs. Along with etl::copysign, etl::signbit is one of the only two portable ways to examine the sign of a NaN.

https://en.cppreference.com/w/cpp/numeric/math/signbit

◆ signbit() [3/3]

constexpr auto signbit ( long double  arg) -> bool
constexprnoexcept

Determines if the given floating point number arg is negative.

This function detects the sign bit of zeroes, infinities, and NaNs. Along with etl::copysign, etl::signbit is one of the only two portable ways to examine the sign of a NaN.

https://en.cppreference.com/w/cpp/numeric/math/signbit

◆ sin() [1/4]

constexpr auto sin ( double  arg) -> double
constexprnoexcept

Computes the sine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/sin

◆ sin() [2/4]

constexpr auto sin ( float  arg) -> float
constexprnoexcept

Computes the sine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/sin

◆ sin() [3/4]

constexpr auto sin ( integral auto  arg) -> double
constexprnoexcept

Computes the sine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/sin

◆ sin() [4/4]

constexpr auto sin ( long double  arg) -> long double
constexprnoexcept

Computes the sine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/sin

◆ sinf()

constexpr auto sinf ( float  arg) -> float
constexprnoexcept

Computes the sine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/sin

◆ sinh() [1/4]

constexpr auto sinh ( double  arg) -> double
constexprnoexcept

Computes the hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/sinh

◆ sinh() [2/4]

constexpr auto sinh ( float  arg) -> float
constexprnoexcept

Computes the hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/sinh

◆ sinh() [3/4]

constexpr auto sinh ( long double  arg) -> long double
constexprnoexcept

Computes the hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/sinh

◆ sinh() [4/4]

template<integral T>
constexpr auto sinh ( T  arg) -> double
constexprnoexcept

Computes the hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/sinh

◆ sinhf()

constexpr auto sinhf ( float  arg) -> float
constexprnoexcept

Computes the hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/sinh

◆ sinhl()

constexpr auto sinhl ( long double  arg) -> long double
constexprnoexcept

Computes the hyperbolic sine of arg.

https://en.cppreference.com/w/cpp/numeric/math/sinh

◆ sinl()

constexpr auto sinl ( long double  arg) -> long double
constexprnoexcept

Computes the sine of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/sin

◆ sqrt() [1/4]

constexpr auto sqrt ( double  arg) -> double
constexprnoexcept

Computes the square root of arg.

https://en.cppreference.com/w/cpp/numeric/math/sqrt

◆ sqrt() [2/4]

constexpr auto sqrt ( float  arg) -> float
constexprnoexcept

Computes the square root of arg.

https://en.cppreference.com/w/cpp/numeric/math/sqrt

◆ sqrt() [3/4]

constexpr auto sqrt ( long double  arg) -> long double
constexprnoexcept

Computes the square root of arg.

https://en.cppreference.com/w/cpp/numeric/math/sqrt

◆ sqrt() [4/4]

template<integral T>
constexpr auto sqrt ( T  arg) -> double
constexprnoexcept

Computes the square root of arg.

https://en.cppreference.com/w/cpp/numeric/math/sqrt

◆ sqrtf()

constexpr auto sqrtf ( float  arg) -> float
constexprnoexcept

Computes the square root of arg.

https://en.cppreference.com/w/cpp/numeric/math/sqrt

◆ sqrtl()

constexpr auto sqrtl ( long double  arg) -> long double
constexprnoexcept

Computes the square root of arg.

https://en.cppreference.com/w/cpp/numeric/math/sqrt

◆ tan() [1/4]

constexpr auto tan ( double  arg) -> double
constexprnoexcept

Computes the tangent of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/tan

◆ tan() [2/4]

constexpr auto tan ( float  arg) -> float
constexprnoexcept

Computes the tangent of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/tan

◆ tan() [3/4]

constexpr auto tan ( integral auto  arg) -> double
constexprnoexcept

Computes the tangent of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/tan

◆ tan() [4/4]

constexpr auto tan ( long double  arg) -> long double
constexprnoexcept

Computes the tangent of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/tan

◆ tanf()

constexpr auto tanf ( float  arg) -> float
constexprnoexcept

Computes the tangent of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/tan

◆ tanh() [1/4]

constexpr auto tanh ( double  arg) -> double
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/tanh

◆ tanh() [2/4]

constexpr auto tanh ( float  arg) -> float
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/tanh

◆ tanh() [3/4]

constexpr auto tanh ( integral auto  arg) -> double
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/tanh

◆ tanh() [4/4]

constexpr auto tanh ( long double  arg) -> long double
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/tanh

◆ tanhf()

constexpr auto tanhf ( float  arg) -> float
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/tanh

◆ tanhl()

constexpr auto tanhl ( long double  arg) -> long double
constexprnoexcept

Computes e (Euler's number, 2.7182...) raised to the given power arg

https://en.cppreference.com/w/cpp/numeric/math/tanh

◆ tanl()

constexpr auto tanl ( long double  arg) -> long double
constexprnoexcept

Computes the tangent of arg (measured in radians).

https://en.cppreference.com/w/cpp/numeric/math/tan

◆ tgamma() [1/4]

constexpr auto tgamma ( double  arg) -> double
constexprnoexcept

Computes the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/tgamma

◆ tgamma() [2/4]

constexpr auto tgamma ( float  arg) -> float
constexprnoexcept

Computes the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/tgamma

◆ tgamma() [3/4]

constexpr auto tgamma ( integral auto  arg) -> double
constexprnoexcept

Computes the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/tgamma

◆ tgamma() [4/4]

constexpr auto tgamma ( long double  arg) -> long double
constexprnoexcept

Computes the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/tgamma

◆ tgammaf()

constexpr auto tgammaf ( float  arg) -> float
constexprnoexcept

Computes the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/tgamma

◆ tgammal()

constexpr auto tgammal ( long double  arg) -> long double
constexprnoexcept

Computes the gamma function of arg.

https://en.cppreference.com/w/cpp/numeric/math/tgamma

◆ trunc() [1/4]

constexpr auto trunc ( double  arg) -> double
constexprnoexcept

Computes the nearest integer not greater in magnitude than arg.

https://en.cppreference.com/w/cpp/numeric/math/trunc

◆ trunc() [2/4]

constexpr auto trunc ( float  arg) -> float
constexprnoexcept

Computes the nearest integer not greater in magnitude than arg.

https://en.cppreference.com/w/cpp/numeric/math/trunc

◆ trunc() [3/4]

constexpr auto trunc ( integral auto  arg) -> double
constexprnoexcept

Computes the nearest integer not greater in magnitude than arg.

https://en.cppreference.com/w/cpp/numeric/math/trunc

◆ trunc() [4/4]

constexpr auto trunc ( long double  arg) -> long double
constexprnoexcept

Computes the nearest integer not greater in magnitude than arg.

https://en.cppreference.com/w/cpp/numeric/math/trunc

◆ truncf()

constexpr auto truncf ( float  arg) -> float
constexprnoexcept

Computes the nearest integer not greater in magnitude than arg.

https://en.cppreference.com/w/cpp/numeric/math/trunc

◆ truncl()

constexpr auto truncl ( long double  arg) -> long double
constexprnoexcept

Computes the nearest integer not greater in magnitude than arg.

https://en.cppreference.com/w/cpp/numeric/math/trunc