tetl 0.1.0
Embedded Template Library
|
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 |
Common mathematics functions.
Computes the principal value of the arc cosine of arg.
Computes the principal value of the arc cosine of arg.
Computes the principal value of the arc cosine of arg.
Computes the principal value of the arc cosine of arg.
Computes the principal value of the arc cosine of arg.
Computes the inverse hyperbolic cosine of arg.
Computes the inverse hyperbolic cosine of arg.
Computes the inverse hyperbolic cosine of arg.
Computes the inverse hyperbolic cosine of arg.
Computes the inverse hyperbolic cosine of arg.
Computes the inverse hyperbolic cosine of arg.
Computes the principal value of the arc cosine of arg.
Computes the principal value of the arc sine of arg.
Computes the principal value of the arc sine of arg.
Computes the principal value of the arc sine of arg.
Computes the principal value of the arc sine of arg.
Computes the principal value of the arc sine of arg.
Computes the inverse hyperbolic sine of arg.
Computes the inverse hyperbolic sine of arg.
Computes the inverse hyperbolic sine of arg.
Computes the inverse hyperbolic sine of arg.
Computes the inverse hyperbolic sine of arg.
Computes the inverse hyperbolic sine of arg.
Computes the principal value of the arc sine of arg.
Computes the principal value of the arc tangent of arg.
Computes the principal value of the arc tangent of arg.
Computes the principal value of the arc tangent of arg.
Computes the principal value of the arc tangent of arg.
Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.
Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.
Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.
Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.
Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.
Computes the principal value of the arc tangent of arg.
Computes the inverse hyperbolic tangent of arg.
Computes the inverse hyperbolic tangent of arg.
Computes the inverse hyperbolic tangent of arg.
Computes the inverse hyperbolic tangent of arg.
Computes the inverse hyperbolic tangent of arg.
Computes the inverse hyperbolic tangent of arg.
Computes the principal value of the arc tangent of arg.
Computes the beta function of x and y.
https://en.cppreference.com/w/cpp/numeric/special_functions/beta
Computes the beta function of x and y.
https://en.cppreference.com/w/cpp/numeric/special_functions/beta
Computes the beta function of x and y.
https://en.cppreference.com/w/cpp/numeric/special_functions/beta
Computes the smallest integer value not less than arg.
Computes the smallest integer value not less than arg.
Computes the smallest integer value not less than arg.
Computes the smallest integer value not less than arg.
Computes the smallest integer value not less than arg.
Computes the smallest integer value not less than arg.
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
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
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
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
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
Computes the cosine of arg (measured in radians).
Computes the cosine of arg (measured in radians).
Computes the cosine of arg (measured in radians).
Computes the cosine of arg (measured in radians).
Computes the cosine of arg (measured in radians).
Computes the hyperbolic cosine of arg
Computes the hyperbolic cosine of arg
Computes the hyperbolic cosine of arg
Computes the hyperbolic cosine of arg
Computes the hyperbolic cosine of arg
Computes the hyperbolic cosine of arg
Computes the cosine of arg (measured in radians).
Computes the error function of arg.
Computes the error function of arg.
Computes the error function of arg.
Computes the error function of arg.
Computes the error function of arg.
Computes the error function of arg.
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes e (Euler's number, 2.7182...) raised to the given power arg
Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0.
Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0.
Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0.
Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0.
Returns the positive difference between x and y, that is, if x>y, returns x-y, otherwise (if x≤y), returns +0.
Computes the largest integer value not greater than arg.
Computes the largest integer value not greater than arg.
Computes the largest integer value not greater than arg.
Computes the largest integer value not greater than arg.
Computes the largest integer value not greater than arg.
Computes the largest integer value not greater than arg.
Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type.
Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type.
Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type.
Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type.
|
constexprnoexcept |
Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type.
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
Computes the floating-point remainder of the division operation x/y.
Computes the floating-point remainder of the division operation x/y.
Computes the floating-point remainder of the division operation x/y.
Computes the floating-point remainder of the division operation x/y.
Computes the floating-point remainder of the division operation x/y.
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.
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.
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.
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.
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.
|
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.
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.
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.
Determines if the given floating point number arg has finite value i.e. it is normal, subnormal or zero, but not infinite or NaN.
Determines if the given floating point number arg is a positive or negative infinity.
|
constexpr |
Determines if the given floating point number arg is a not-a-number (NaN) value.
Determines if the given floating point number arg is a not-a-number (NaN) value.
|
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]).
Computes the natural logarithm of the absolute value of the gamma function of arg.
Computes the natural logarithm of the absolute value of the gamma function of arg.
Computes the natural logarithm of the absolute value of the gamma function of arg.
Computes the natural logarithm of the absolute value of the gamma function of arg.
Computes the natural logarithm of the absolute value of the gamma function of arg.
Computes the natural logarithm of the absolute value of the gamma function of arg.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Computes the natural (base e) logarithm of arg.
Computes the natural (base e) logarithm of arg.
Computes the natural (base e) logarithm of arg.
Computes the natural (base e) logarithm of arg.
Computes the binary (base-10) logarithm of arg.
Computes the binary (base-10) logarithm of arg.
Computes the binary (base-10) logarithm of arg.
Computes the binary (base-10) logarithm of arg.
Computes the binary (base-10) logarithm of arg.
Computes the binary (base-10) logarithm of arg.
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.
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.
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.
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.
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.
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.
Computes the binary (base-2) logarithm of arg.
Computes the binary (base-2) logarithm of arg.
Computes the binary (base-2) logarithm of arg.
Computes the binary (base-2) logarithm of arg.
Computes the binary (base-2) logarithm of arg.
Computes the binary (base-2) logarithm of arg.
Computes the natural (base e) logarithm of arg.
Computes the natural (base e) logarithm of arg.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
Rounds the floating-point argument arg to an integer value, using the current rounding mode.
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.
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.
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.
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
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
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
Computes the value of base raised to the power exp.
Computes the value of base raised to the power exp.
Computes the value of base raised to the power exp.
Computes the value of base raised to the power exp.
Computes the value of base raised to the power exp.
Computes the value of base raised to the power exp.
Computes the value of base raised to the power exp.
Computes the value of base raised to the power exp.
Computes the remainder of the floating point division operation x/y.
Computes the remainder of the floating point division operation x/y.
Computes the remainder of the floating point division operation x/y.
Computes the remainder of the floating point division operation x/y.
Computes the remainder of the floating point division operation x/y.
Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.
Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.
Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.
Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.
Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.
Computes the nearest integer value to arg (in floating-point format), rounding halfway cases away from zero, regardless of the current rounding mode.
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.
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.
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.
Computes the sine of arg (measured in radians).
Computes the sine of arg (measured in radians).
Computes the sine of arg (measured in radians).
Computes the sine of arg (measured in radians).
Computes the sine of arg (measured in radians).
Computes the hyperbolic sine of arg.
Computes the hyperbolic sine of arg.
Computes the hyperbolic sine of arg.
Computes the hyperbolic sine of arg.
Computes the hyperbolic sine of arg.
Computes the hyperbolic sine of arg.
Computes the sine of arg (measured in radians).
Computes the square root of arg.
Computes the square root of arg.
Computes the square root of arg.
Computes the square root of arg.
Computes the square root of arg.
Computes the square root of arg.
Computes the tangent of arg (measured in radians).
Computes the tangent of arg (measured in radians).
Computes the tangent of arg (measured in radians).
Computes the tangent of arg (measured in radians).
Computes the tangent of arg (measured in radians).
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes e (Euler's number, 2.7182...) raised to the given power arg
Computes the tangent of arg (measured in radians).
Computes the gamma function of arg.
Computes the gamma function of arg.
Computes the gamma function of arg.
Computes the gamma function of arg.
Computes the gamma function of arg.
Computes the gamma function of arg.
Computes the nearest integer not greater in magnitude than arg.
Computes the nearest integer not greater in magnitude than arg.
Computes the nearest integer not greater in magnitude than arg.
Computes the nearest integer not greater in magnitude than arg.
Computes the nearest integer not greater in magnitude than arg.