STLdoc
STLdocumentation
|
Functions in the fast_math namespace have lower accuracy, and support only single-precision float. More...
Functions | |
float | fabsf (float _X) __GPU_ONLY |
Returns the absolute value of the argument More... | |
float | fabs (float _X) __GPU_ONLY |
Returns the absolute value of the argument More... | |
float | acosf (float _X) __GPU_ONLY |
Calculates the arccosine of the argument More... | |
float | acos (float _X) __GPU_ONLY |
Calculates the arccosine of the argument More... | |
float | asinf (float _X) __GPU_ONLY |
Calculates the arcsine of the argument More... | |
float | asin (float _X) __GPU_ONLY |
Calculates the arcsine of the argument More... | |
float | atanf (float _X) __GPU_ONLY |
Calculates the arctangent of the argument More... | |
float | atan (float _X) __GPU_ONLY |
Calculates the arctangent of the argument More... | |
float | atan2f (float _Y, float _X) __GPU_ONLY |
Calculates the arctangent of _Y/_X More... | |
float | atan2 (float _Y, float _X) __GPU_ONLY |
Calculates the arctangent of _Y/_X More... | |
float | ceilf (float _X) __GPU_ONLY |
Calculates the ceiling of the argument More... | |
float | ceil (float _X) __GPU_ONLY |
Calculates the ceiling of the argument More... | |
float | cosf (float _X) __GPU_ONLY |
Calculates the cosine of the argument More... | |
float | cos (float _X) __GPU_ONLY |
Calculates the cosine of the argument More... | |
float | coshf (float _X) __GPU_ONLY |
Calculates the hyperbolic cosine value of the argument More... | |
float | cosh (float _X) __GPU_ONLY |
Calculates the hyperbolic cosine value of the argument More... | |
float | expf (float _X) __GPU_ONLY |
Calculates the base-e exponential of the argument More... | |
float | exp (float _X) __GPU_ONLY |
Calculates the base-e exponential of the argument More... | |
float | exp2f (float _X) __GPU_ONLY |
Calculates the base-2 exponential of the argument More... | |
float | exp2 (float _X) __GPU_ONLY |
Calculates the base-2 exponential of the argument More... | |
float | floorf (float _X) __GPU_ONLY |
Calculates the floor of the argument More... | |
float | floor (float _X) __GPU_ONLY |
Calculates the floor of the argument More... | |
float | fmaxf (float _X, float _Y) __GPU_ONLY |
Determine the maximum numeric value of the arguments More... | |
float | fmax (float _X, float _Y) __GPU_ONLY |
Determine the maximum numeric value of the arguments More... | |
float | fminf (float _X, float _Y) __GPU_ONLY |
Determine the minimum numeric value of the arguments More... | |
float | fmin (float _X, float _Y) __GPU_ONLY |
Determine the minimum numeric value of the arguments More... | |
float | fmodf (float _X, float _Y) __GPU_ONLY |
Calculates the floating-point remainder of _X/_Y More... | |
float | fmod (float _X, float _Y) __GPU_ONLY |
Calculates the floating-point remainder of _X/_Y More... | |
float | frexpf (float _X, _Out_ int *_Exp) __GPU_ONLY |
Gets the mantissa and exponent of _X More... | |
float | frexp (float _X, _Out_ int *_Exp) __GPU_ONLY |
Gets the mantissa and exponent of _X More... | |
int | isfinite (float _X) __GPU_ONLY |
Determines whether the argument has a finite value More... | |
int | isinf (float _X) __GPU_ONLY |
Determines whether the argument is an infinity More... | |
int | isnan (float _X) __GPU_ONLY |
Determines whether the argument is a NaN More... | |
float | ldexpf (float _X, int _Exp) __GPU_ONLY |
Computes a real number from the mantissa and exponent More... | |
float | ldexp (float _X, int _Exp) __GPU_ONLY |
Computes a real number from the mantissa and exponent More... | |
float | logf (float _X) __GPU_ONLY |
Calculates the base-e logarithm of the argument More... | |
float | log (float _X) __GPU_ONLY |
Calculates the base-e logarithm of the argument More... | |
float | log10f (float _X) __GPU_ONLY |
Calculates the base-10 logarithm of the argument More... | |
float | log10 (float _X) __GPU_ONLY |
Calculates the base-10 logarithm of the argument More... | |
float | log2f (float _X) __GPU_ONLY |
Calculates the base-2 logarithm of the argument More... | |
float | log2 (float _X) __GPU_ONLY |
Calculates the base-2 logarithm of the argument More... | |
float | modff (float _X, float *_Ip) __GPU_ONLY |
Splits _X into fractional and integer parts. More... | |
float | modf (float _X, float *_Ip) __GPU_ONLY |
Splits _X into fractional and integer parts. More... | |
float | powf (float _X, float _Y) __GPU_ONLY |
Calculates _X raised to the power of _Y More... | |
float | pow (float _X, float _Y) __GPU_ONLY |
Calculates _X raised to the power of _Y More... | |
float | roundf (float _X) __GPU_ONLY |
Rounds _X to the nearest integer More... | |
float | round (float _X) __GPU_ONLY |
Rounds _X to the nearest integer More... | |
float | rsqrtf (float _X) __GPU_ONLY |
Returns the reciprocal of the square root of the argument More... | |
float | rsqrt (float _X) __GPU_ONLY |
Returns the reciprocal of the square root of the argument More... | |
int | signbitf (float _X) __GPU_ONLY |
Returns the sign of the argument More... | |
int | signbit (float _X) __GPU_ONLY |
Returns the sign of the argument More... | |
float | sinf (float _X) __GPU_ONLY |
Calculates the sine value of the argument More... | |
float | sin (float _X) __GPU_ONLY |
Calculates the sine value of the argument More... | |
void | sincosf (float _X, float *_S, float *_C) __GPU_ONLY |
Calculates sine and cosine value of _X More... | |
void | sincos (float _X, float *_S, float *_C) __GPU_ONLY |
Calculates sine and cosine value of _X More... | |
float | sinhf (float _X) __GPU_ONLY |
Calculates the hyperbolic sine value of the argument More... | |
float | sinh (float _X) __GPU_ONLY |
Calculates the hyperbolic sine value of the argument More... | |
float | sqrtf (float _X) __GPU_ONLY |
Calculates the square root of the argument More... | |
float | sqrt (float _X) __GPU_ONLY |
Calculates the square root of the argument More... | |
float | tanf (float _X) __GPU_ONLY |
Calculates the tangent value of the argument More... | |
float | tan (float _X) __GPU_ONLY |
Calculates the tangent value of the argument More... | |
float | tanhf (float _X) __GPU_ONLY |
Calculates the hyperbolic tangent value of the argument More... | |
float | tanh (float _X) __GPU_ONLY |
Calculates the hyperbolic tangent value of the argument More... | |
float | truncf (float _X) __GPU_ONLY |
Truncates the argument to the integer component More... | |
float | trunc (float _X) __GPU_ONLY |
Truncates the argument to the integer component More... | |
Functions in the fast_math namespace have lower accuracy, and support only single-precision float.
|
inline |
Calculates the arccosine of the argument
_X | Floating-point value |
|
inline |
Calculates the arccosine of the argument
_X | Floating-point value |
|
inline |
Calculates the arcsine of the argument
_X | Floating-point value |
|
inline |
Calculates the arcsine of the argument
_X | Floating-point value |
|
inline |
Calculates the arctangent of the argument
_X | Floating-point value |
|
inline |
Calculates the arctangent of _Y/_X
_X | Floating-point value |
_Y | Floating-point value |
|
inline |
Calculates the arctangent of _Y/_X
_X | Floating-point value |
_Y | Floating-point value |
|
inline |
Calculates the arctangent of the argument
_X | Floating-point value |
|
inline |
Calculates the ceiling of the argument
_X | Floating-point value |
|
inline |
Calculates the ceiling of the argument
_X | Floating-point value |
|
inline |
Calculates the cosine of the argument
_X | Floating-point value |
|
inline |
Calculates the cosine of the argument
_X | Floating-point value |
|
inline |
Calculates the hyperbolic cosine value of the argument
_X | Floating-point value |
|
inline |
Calculates the hyperbolic cosine value of the argument
_X | Floating-point value |
|
inline |
Calculates the base-e exponential of the argument
_X | Floating-point value |
|
inline |
Calculates the base-2 exponential of the argument
_X | Floating-point value |
|
inline |
Calculates the base-2 exponential of the argument
_X | Floating-point value |
|
inline |
Calculates the base-e exponential of the argument
_X | Floating-point value |
|
inline |
Returns the absolute value of the argument
_X | Floating-point value |
|
inline |
Returns the absolute value of the argument
_X | Floating-point value |
|
inline |
Calculates the floor of the argument
_X | Floating-point value |
|
inline |
Calculates the floor of the argument
_X | Floating-point value |
|
inline |
Determine the maximum numeric value of the arguments
_X | Floating-point value |
_Y | Floating-point value |
|
inline |
Determine the maximum numeric value of the arguments
_X | Floating-point value |
_Y | Floating-point value |
|
inline |
Determine the minimum numeric value of the arguments
_X | Floating-point value |
_Y | Floating-point value |
|
inline |
Determine the minimum numeric value of the arguments
_X | Floating-point value |
_Y | Floating-point value |
|
inline |
Calculates the floating-point remainder of _X/_Y
_X | Floating-point value |
_Y | Floating-point value |
|
inline |
Calculates the floating-point remainder of _X/_Y
_X | Floating-point value |
_Y | Floating-point value |
Gets the mantissa and exponent of _X
_X | Floating-point value |
_Exp | Returns the integer exponent of _X in floating-point value |
Gets the mantissa and exponent of _X
_X | Floating-point value |
_Exp | Returns the integer exponent of _X in floating-point value |
|
inline |
Determines whether the argument has a finite value
_X | Floating-point value |
|
inline |
Determines whether the argument is an infinity
_X | Floating-point value |
|
inline |
Determines whether the argument is a NaN
_X | Floating-point value |
|
inline |
Computes a real number from the mantissa and exponent
_X | Floating-point value, mantissa |
_Exp | Integer value, exponent |
|
inline |
Computes a real number from the mantissa and exponent
_X | Floating-point value, mantissa |
_Exp | Integer value, exponent |
|
inline |
Calculates the base-e logarithm of the argument
_X | Floating-point value |
|
inline |
Calculates the base-10 logarithm of the argument
_X | Floating-point value |
|
inline |
Calculates the base-10 logarithm of the argument
_X | Floating-point value |
|
inline |
Calculates the base-2 logarithm of the argument
_X | Floating-point value |
|
inline |
Calculates the base-2 logarithm of the argument
_X | Floating-point value |
|
inline |
Calculates the base-e logarithm of the argument
_X | Floating-point value |
|
inline |
Splits _X into fractional and integer parts.
_X | Floating-point value |
_Ip | Returns the integer portion of _X in floating-point value |
|
inline |
Splits _X into fractional and integer parts.
_X | Floating-point value |
_Ip | Returns the integer portion of _X in floating-point value |
|
inline |
Calculates _X raised to the power of _Y
_X | Floating-point value, base |
_Y | Floating-point value, exponent |
|
inline |
Calculates _X raised to the power of _Y
_X | Floating-point value, base |
_Y | Floating-point value, exponent |
|
inline |
Rounds _X to the nearest integer
_X | Floating-point value |
|
inline |
Rounds _X to the nearest integer
_X | Floating-point value |
|
inline |
Returns the reciprocal of the square root of the argument
_X | Floating-point value |
|
inline |
Returns the reciprocal of the square root of the argument
_X | Floating-point value |
|
inline |
Returns the sign of the argument
_X | Floating-point value |
|
inline |
Returns the sign of the argument
_X | Floating-point value |
|
inline |
Calculates the sine value of the argument
_X | Floating-point value |
|
inline |
Calculates sine and cosine value of _X
_X | Floating-point value |
_S | Returns the sine value of _X |
_C | Returns the cosine value of _X |
|
inline |
Calculates sine and cosine value of _X
_X | Floating-point value |
_S | Returns the sine value of _X |
_C | Returns the cosine value of _X |
|
inline |
Calculates the sine value of the argument
_X | Floating-point value |
|
inline |
Calculates the hyperbolic sine value of the argument
_X | Floating-point value |
|
inline |
Calculates the hyperbolic sine value of the argument
_X | Floating-point value |
|
inline |
Calculates the square root of the argument
_X | Floating-point value |
|
inline |
Calculates the square root of the argument
_X | Floating-point value |
|
inline |
Calculates the tangent value of the argument
_X | Floating-point value |
|
inline |
Calculates the tangent value of the argument
_X | Floating-point value |
|
inline |
Calculates the hyperbolic tangent value of the argument
_X | Floating-point value |
|
inline |
Calculates the hyperbolic tangent value of the argument
_X | Floating-point value |
|
inline |
Truncates the argument to the integer component
_X | Floating-point value |
|
inline |
Truncates the argument to the integer component
_X | Floating-point value |