Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Functions in the fast_math namespace have lower accuracy, support only single-precision (float), and call the DirectX intrinsics. There are two versions of each function, for example cos and cosf. Both versions take and return a float, but each calls the same DirectX intrinsic.
namespace fast_math;
Members
Functions
| Name | Description | 
|---|---|
| Calculates the arccosine of the argument | |
| Calculates the arccosine of the argument | |
| Calculates the arcsine of the argument | |
| Calculates the arcsine of the argument | |
| Calculates the arctangent of the argument | |
| Calculates the arctangent of _Y/_X | |
| Calculates the arctangent of _Y/_X | |
| Calculates the arctangent of the argument | |
| Calculates the ceiling of the argument | |
| Calculates the ceiling of the argument | |
| Calculates the cosine of the argument | |
| Calculates the cosine of the argument | |
| Calculates the hyperbolic cosine value of the argument | |
| Calculates the hyperbolic cosine value of the argument | |
| Calculates the base-e exponential of the argument | |
| Calculates the base-2 exponential of the argument | |
| Calculates the base-2 exponential of the argument | |
| Calculates the base-e exponential of the argument | |
| Returns the absolute value of the argument | |
| Returns the absolute value of the argument | |
| Calculates the floor of the argument | |
| Calculates the floor of the argument | |
| Determine the maximum numeric value of the arguments | |
| Determine the maximum numeric value of the arguments | |
| Determine the minimum numeric value of the arguments | |
| Determine the minimum numeric value of the arguments | |
| Calculates the floating-point remainder of _X/_Y | |
| Calculates the floating-point remainder of _X/_Y | |
| Gets the mantissa and exponent of _X | |
| Gets the mantissa and exponent of _X | |
| Determines whether the argument has a finite value | |
| Determines whether the argument is an infinity | |
| Determines whether the argument is a NaN | |
| Computes a real number from the mantissa and exponent | |
| Computes a real number from the mantissa and exponent | |
| Calculates the base-e logarithm of the argument | |
| Calculates the base-10 logarithm of the argument | |
| Calculates the base-10 logarithm of the argument | |
| Calculates the base-2 logarithm of the argument | |
| Calculates the base-2 logarithm of the argument | |
| Calculates the base-e logarithm of the argument | |
| Splits _X into fractional and integer parts. | |
| Splits _X into fractional and integer parts. | |
| Calculates _X raised to the power of _Y | |
| Calculates _X raised to the power of _Y | |
| Rounds _X to the nearest integer | |
| Rounds _X to the nearest integer | |
| Returns the reciprocal of the square root of the argument | |
| Returns the reciprocal of the square root of the argument | |
| Returns the sign of the argument | |
| Returns the sign of the argument | |
| Calculates the sine value of the argument | |
| Calculates sine and cosine value of _X | |
| Calculates sine and cosine value of _X | |
| Calculates the sine value of the argument | |
| Calculates the hyperbolic sine value of the argument | |
| Calculates the hyperbolic sine value of the argument | |
| Calculates the square root of the argument | |
| Calculates the square root of the argument | |
| Calculates the tangent value of the argument | |
| Calculates the tangent value of the argument | |
| Calculates the hyperbolic tangent value of the argument | |
| Calculates the hyperbolic tangent value of the argument | |
| Truncates the argument to the integer component | |
| Truncates the argument to the integer component | 
Requirements
Header: amp_math.h
Namespace: Concurrency::fast_math