Functions in the precise_math namespace are C99 compliant. Both single precision and double precision versions of each function are included. For example, acos is the double-precision version and acosf is the single-precision version. These functions, including the single-precision functions, require extended double-precision support on the accelerator. You can use the accelerator::supports_double_precision Data Member to determine if you can run these functions on a specific accelerator.
namespace precise_math;
Members
Functions
Name  | 
Description  | 
|---|---|
Overloaded. Calculates the arccosine of the argument  | 
|
Calculates the arccosine of the argument  | 
|
Overloaded. Calculates the inverse hyperbolic cosine of the argument  | 
|
Calculates the inverse hyperbolic cosine of the argument  | 
|
Overloaded. Calculates the arcsine of the argument  | 
|
Calculates the arcsine of the argument  | 
|
Overloaded. Calculates the inverse hyperbolic sine of the argument  | 
|
Calculates the inverse hyperbolic sine of the argument  | 
|
Overloaded. Calculates the arctangent of the argument  | 
|
Overloaded. Calculates the arctangent of _Y/_X  | 
|
Calculates the arctangent of _Y/_X  | 
|
Calculates the arctangent of the argument  | 
|
Overloaded. Calculates the inverse hyperbolic tangent of the argument  | 
|
Calculates the inverse hyperbolic tangent of the argument  | 
|
Overloaded. Computes the real cube root of the argument  | 
|
Computes the real cube root of the argument  | 
|
Overloaded. Calculates the ceiling of the argument  | 
|
Calculates the ceiling of the argument  | 
|
Overloaded. Produces a value with the magnitude of _X and the sign of _Y  | 
|
Produces a value with the magnitude of _X and the sign of _Y  | 
|
Overloaded. Calculates the cosine of the argument  | 
|
Calculates the cosine of the argument  | 
|
Overloaded. Calculates the hyperbolic cosine value of the argument  | 
|
Calculates the hyperbolic cosine value of the argument  | 
|
Overloaded. Calculates the cosine value of pi * _X  | 
|
Calculates the cosine value of pi * _X  | 
|
Overloaded. Computes the error function of _X  | 
|
Overloaded. Computes the complementary error function of _X  | 
|
Computes the complementary error function of _X  | 
|
Overloaded. Computes the inverse complementary error function of _X  | 
|
Computes the inverse complementary error function of _X  | 
|
Computes the error function of _X  | 
|
Overloaded. Computes the inverse error function of _X  | 
|
Computes the inverse error function of _X  | 
|
Overloaded. Calculates the base-e exponential of the argument  | 
|
Overloaded. Calculates the base-10 exponential of the argument  | 
|
Calculates the base-10 exponential of the argument  | 
|
Overloaded. Calculates the base-2 exponential of the argument  | 
|
Calculates the base-2 exponential of the argument  | 
|
Calculates the base-e exponential of the argument  | 
|
Overloaded. Calculates the base-e exponential of the argument, minus 1  | 
|
Calculates the base-e exponential of the argument, minus 1  | 
|
Overloaded. Returns the absolute value of the argument  | 
|
Returns the absolute value of the argument  | 
|
Overloaded. Determines the positive difference between the arguments  | 
|
Determines the positive difference between the arguments  | 
|
Overloaded. Calculates the floor of the argument  | 
|
Calculates the floor of the argument  | 
|
Overloaded. Compute (_X * _Y) + _Z, rounded as one ternary operation  | 
|
Compute (_X * _Y) + _Z, rounded as one ternary operation  | 
|
Overloaded. Determine the maximum numeric value of the arguments  | 
|
Determine the maximum numeric value of the arguments  | 
|
Overloaded. Determine the minimum numeric value of the arguments  | 
|
Determine the minimum numeric value of the arguments  | 
|
Overloaded. Calculates the floating-point remainder of _X/_Y  | 
|
Calculates the floating-point remainder of _X/_Y  | 
|
Overloaded. Classifies the argument value as NaN, infinite, normal, subnormal, zero  | 
|
Overloaded. Gets the mantissa and exponent of _X  | 
|
Gets the mantissa and exponent of _X  | 
|
Overloaded. Computes the square root of the sum of the squares of _X and _Y  | 
|
Computes the square root of the sum of the squares of _X and _Y  | 
|
Overloaded. Extract the exponent of _X as a signed int value  | 
|
Extract the exponent of _X as a signed int value  | 
|
Overloaded. Determines whether the argument has a finite value  | 
|
Overloaded. Determines whether the argument is an infinity  | 
|
Overloaded. Determines whether the argument is a NaN  | 
|
Overloaded. Determines whether the argument is a normal  | 
|
Overloaded. Computes a real number from the mantissa and exponent  | 
|
Computes a real number from the mantissa and exponent  | 
|
Overloaded. Computes the natural logarithm of the absolute value of gamma of the argument  | 
|
Computes the natural logarithm of the absolute value of gamma of the argument  | 
|
Overloaded. Calculates the base-e logarithm of the argument  | 
|
Overloaded. Calculates the base-10 logarithm of the argument  | 
|
Calculates the base-10 logarithm of the argument  | 
|
Overloaded. Calculates the base-e logarithm of 1 plus the argument  | 
|
Calculates the base-e logarithm of 1 plus the argument  | 
|
Overloaded. Calculates the base-2 logarithm of the argument  | 
|
Calculates the base-2 logarithm of the argument  | 
|
Overloaded. Extracts the exponent of _X, as a signed integer value in floating-point format  | 
|
Extracts the exponent of _X, as a signed integer value in floating-point format  | 
|
Calculates the base-e logarithm of the argument  | 
|
Overloaded. Splits _X into fractional and integer parts.  | 
|
Splits _X into fractional and integer parts.  | 
|
Returns a quiet NaN  | 
|
Returns a quiet NaN  | 
|
Overloaded. Rounds the argument to an integer value in floating-point format, using the current rounding direction.  | 
|
Rounds the argument to an integer value in floating-point format, using the current rounding direction.  | 
|
Overloaded. Determine the next representable value, in the type of the function, after _X in the direction of _Y  | 
|
Determine the next representable value, in the type of the function, after _X in the direction of _Y  | 
|
Overloaded. Returns the cumulative distribution function of the argument  | 
|
Returns the cumulative distribution function of the argument  | 
|
Overloaded. Calculates _X raised to the power of _Y  | 
|
Calculates _X raised to the power of _Y  | 
|
Overloaded. Returns the inverse cumulative distribution function of the argument  | 
|
Returns the inverse cumulative distribution function of the argument  | 
|
Overloaded. Returns the reciprocal of the cube root of the argument  | 
|
Returns the reciprocal of the cube root of the argument  | 
|
Overloaded. Computes the remainder: _X REM _Y  | 
|
Computes the remainder: _X REM _Y  | 
|
Overloaded. Computes the same remainder as _X REM _Y. Also calculates the lower 23 bits of the integral quotient _X/_Y, and gives that value the same sign as _X/_Y. It stores this signed value in the integer pointed to by _Quo.  | 
|
Computes the same remainder as _X REM _Y. Also calculates the lower 23 bits of the integral quotient _X/_Y, and gives that value the same sign as _X/_Y. It stores this signed value in the integer pointed to by _Quo.  | 
|
Overloaded. Rounds _X to the nearest integer  | 
|
Rounds _X to the nearest integer  | 
|
Overloaded. Returns the reciprocal of the square root of the argument  | 
|
Returns the reciprocal of the square root of the argument  | 
|
Overloaded. Multiplies _X by FLT_RADIX to the power _Y  | 
|
Multiplies _X by FLT_RADIX to the power _Y  | 
|
Overloaded. Multiplies _X by FLT_RADIX to the power _Y  | 
|
Multiplies _X by FLT_RADIX to the power _Y  | 
|
Overloaded. Determines whether the sign of _X is negative  | 
|
Determines whether the sign of _X is negative  | 
|
Overloaded. Calculates the sine value of the argument  | 
|
Overloaded. Calculates sine and cosine value of _X  | 
|
Calculates sine and cosine value of _X  | 
|
Calculates the sine value of the argument  | 
|
Overloaded. Calculates the hyperbolic sine value of the argument  | 
|
Calculates the hyperbolic sine value of the argument  | 
|
Overloaded. Calculates the sine value of pi * _X  | 
|
Calculates the sine value of pi * _X  | 
|
Overloaded. Calculates the squre root of the argument  | 
|
Calculates the squre root of the argument  | 
|
Overloaded. Calculates the tangent value of the argument  | 
|
Calculates the tangent value of the argument  | 
|
Overloaded. Calculates the hyperbolic tangent value of the argument  | 
|
Calculates the hyperbolic tangent value of the argument  | 
|
Overloaded. Calculates the tangent value of pi * _X  | 
|
Calculates the tangent value of pi * _X  | 
|
Overloaded. Computes the gamma function of _X  | 
|
Computes the gamma function of _X  | 
|
Overloaded. Truncates the argument to the integer component  | 
|
Truncates the argument to the integer component  | 
Requirements
Header: amp_math.h
Namespace: Concurrency