STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
Concurrency::precise_math Namespace Reference

Functions in the precise_math namespace have higher accuracy, but require double-precision support, which not all accelerators do. More...

Functions

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...
 
double acos (double _X) __GPU_ONLY
 Calculates the arccosine of the argument More...
 
float acoshf (float _X) __GPU_ONLY
 Calculates the inverse hyperbolic cosine of the argument More...
 
float acosh (float _X) __GPU_ONLY
 Calculates the inverse hyperbolic cosine of the argument More...
 
double acosh (double _X) __GPU_ONLY
 Calculates the inverse hyperbolic cosine 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...
 
double asin (double _X) __GPU_ONLY
 Calculates the arcsine of the argument More...
 
float asinhf (float _X) __GPU_ONLY
 Calculates the inverse hyperbolic sine of the argument More...
 
float asinh (float _X) __GPU_ONLY
 Calculates the inverse hyperbolic sine of the argument More...
 
double asinh (double _X) __GPU_ONLY
 Calculates the inverse hyperbolic sine 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...
 
double atan (double _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...
 
double atan2 (double _Y, double _X) __GPU_ONLY
 Calculates the arctangent of _Y/_X More...
 
float atanhf (float _X) __GPU_ONLY
 Calculates the inverse hyperbolic tangent of the argument More...
 
float atanh (float _X) __GPU_ONLY
 Calculates the inverse hyperbolic tangent of the argument More...
 
double atanh (double _X) __GPU_ONLY
 Calculates the inverse hyperbolic tangent of the argument More...
 
float cbrtf (float _X) __GPU_ONLY
 Computes the real cube root of the argument More...
 
float cbrt (float _X) __GPU_ONLY
 Computes the real cube root of the argument More...
 
double cbrt (double _X) __GPU_ONLY
 Computes the real cube root of the argument 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...
 
double ceil (double _X) __GPU_ONLY
 Calculates the ceiling of the argument More...
 
float copysignf (float _X, float _Y) __GPU_ONLY
 Produces a value with the magnitude of _X and the sign of _Y More...
 
float copysign (float _X, float _Y) __GPU_ONLY
 Produces a value with the magnitude of _X and the sign of _Y More...
 
double copysign (double _X, double _Y) __GPU_ONLY
 Produces a value with the magnitude of _X and the sign of _Y 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...
 
double cos (double _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...
 
double cosh (double _X) __GPU_ONLY
 Calculates the hyperbolic cosine value of the argument More...
 
float cospif (float _X) __GPU_ONLY
 Calculates the cosine value of pi * _X More...
 
float cospi (float _X) __GPU_ONLY
 Calculates the cosine value of pi * _X More...
 
double cospi (double _X) __GPU_ONLY
 Calculates the cosine value of pi * _X More...
 
float erff (float _X) __GPU_ONLY
 Computes the error function of _X More...
 
float erf (float _X) __GPU_ONLY
 Computes the error function of _X More...
 
double erf (double _X) __GPU_ONLY
 Computes the error function of _X More...
 
float erfcf (float _X) __GPU_ONLY
 Computes the complementary error function of _X More...
 
float erfc (float _X) __GPU_ONLY
 Computes the complementary error function of _X More...
 
double erfc (double _X) __GPU_ONLY
 Computes the complementary error function of _X More...
 
float erfinvf (float _X) __GPU_ONLY
 Computes the inverse error function of _X More...
 
float erfinv (float _X) __GPU_ONLY
 Computes the inverse error function of _X More...
 
double erfinv (double _X) __GPU_ONLY
 Computes the inverse error function of _X More...
 
float erfcinvf (float _X) __GPU_ONLY
 Computes the inverse complementary error function of _X More...
 
float erfcinv (float _X) __GPU_ONLY
 Computes the inverse complementary error function of _X More...
 
double erfcinv (double _X) __GPU_ONLY
 Computes the inverse complementary error function of _X 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...
 
double exp (double _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...
 
double exp2 (double _X) __GPU_ONLY
 Calculates the base-2 exponential of the argument More...
 
float exp10f (float _X) __GPU_ONLY
 Calculates the base-10 exponential of the argument More...
 
float exp10 (float _X) __GPU_ONLY
 Calculates the base-10 exponential of the argument More...
 
double exp10 (double _X) __GPU_ONLY
 Calculates the base-10 exponential of the argument More...
 
float expm1f (float _X) __GPU_ONLY
 Calculates the base-e exponential of the argument, minus 1 More...
 
float expm1 (float _X) __GPU_ONLY
 Calculates the base-e exponential of the argument, minus 1 More...
 
double expm1 (double _X) __GPU_ONLY
 Calculates the base-e exponential of the argument, minus 1 More...
 
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...
 
double fabs (double _X) __GPU_ONLY
 Returns the absolute value of the argument More...
 
float fdimf (float _X, float _Y) __GPU_ONLY
 Determines the positive difference between the arguments More...
 
float fdim (float _X, float _Y) __GPU_ONLY
 Determines the positive difference between the arguments More...
 
double fdim (double _X, double _Y) __GPU_ONLY
 Determines the positive difference between the arguments 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...
 
double floor (double _X) __GPU_ONLY
 Calculates the floor of the argument More...
 
float fmaf (float _X, float _Y, float _Z) __GPU_ONLY
 Compute (_X * _Y) + _Z, rounded as one ternary operation More...
 
float fma (float _X, float _Y, float _Z) __GPU_ONLY
 Compute (_X * _Y) + _Z, rounded as one ternary operation More...
 
double fma (double _X, double _Y, double _Z) __GPU_ONLY
 Compute (_X * _Y) + _Z, rounded as one ternary operation 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...
 
double fmax (double _X, double _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...
 
double fmin (double _X, double _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...
 
double fmod (double _X, double _Y) __GPU_ONLY
 Calculates the floating-point remainder of _X/_Y More...
 
int fpclassify (float _X) __GPU_ONLY
 Classifies the argument value as NaN, infinite, normal, subnormal, zero More...
 
int fpclassify (double _X) __GPU_ONLY
 Classifies the argument value as NaN, infinite, normal, subnormal, zero 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...
 
double frexp (double _X, _Out_ int *_Exp) __GPU_ONLY
 Gets the mantissa and exponent of _X More...
 
float hypotf (float _X, float _Y) __GPU_ONLY
 Computes the square root of the sum of the squares of _X and _Y More...
 
float hypot (float _X, float _Y) __GPU_ONLY
 Computes the square root of the sum of the squares of _X and _Y More...
 
double hypot (double _X, double _Y) __GPU_ONLY
 Computes the square root of the sum of the squares of _X and _Y More...
 
int ilogbf (float _X) __GPU_ONLY
 Extract the exponent of _X as a signed int value More...
 
int ilogb (float _X) __GPU_ONLY
 Extract the exponent of _X as a signed int value More...
 
int ilogb (double _X) __GPU_ONLY
 Extract the exponent of _X as a signed int value More...
 
int isfinite (float _X) __GPU_ONLY
 Determines whether the argument has a finite value More...
 
int isfinite (double _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 isinf (double _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...
 
int isnan (double _X) __GPU_ONLY
 Determines whether the argument is a NaN More...
 
int isnormal (float _X) __GPU_ONLY
 Determines whether the argument is a normal More...
 
int isnormal (double _X) __GPU_ONLY
 Determines whether the argument is a normal 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...
 
double ldexp (double _X, int _Exp) __GPU_ONLY
 Computes a real number from the mantissa and exponent More...
 
float lgammaf (float _X, _Out_ int *_Sign) __GPU_ONLY
 Computes the natural logarithm of the absolute value of gamma of the argument More...
 
float lgamma (float _X, _Out_ int *_Sign) __GPU_ONLY
 Computes the natural logarithm of the absolute value of gamma of the argument More...
 
double lgamma (double _X, _Out_ int *_Sign) __GPU_ONLY
 Computes the natural logarithm of the absolute value of gamma of the argument 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...
 
double log (double _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...
 
double log10 (double _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...
 
double log2 (double _X) __GPU_ONLY
 Calculates the base-2 logarithm of the argument More...
 
float log1pf (float _X) __GPU_ONLY
 Calculates the base-e logarithm of 1 plus the argument More...
 
float log1p (float _X) __GPU_ONLY
 Calculates the base-e logarithm of 1 plus the argument More...
 
double log1p (double _X) __GPU_ONLY
 Calculates the base-e logarithm of 1 plus the argument More...
 
float logbf (float _X) __GPU_ONLY
 Extracts the exponent of _X, as a signed integer value in floating-point format More...
 
float logb (float _X) __GPU_ONLY
 Extracts the exponent of _X, as a signed integer value in floating-point format More...
 
double logb (double _X) __GPU_ONLY
 Extracts the exponent of _X, as a signed integer value in floating-point format More...
 
float modff (float _X, _Out_ float *_Iptr) __GPU_ONLY
 Splits _X into fractional and integer parts. More...
 
float modf (float _X, _Out_ float *_Iptr) __GPU_ONLY
 Splits _X into fractional and integer parts. More...
 
double modf (double _X, _Out_ double *_Iptr) __GPU_ONLY
 Splits _X into fractional and integer parts. More...
 
float nanf (int _X) __GPU_ONLY
 Returns a quiet NaN More...
 
double nan (int _X) __GPU_ONLY
 Returns a quiet NaN More...
 
float nearbyintf (float _X) __GPU_ONLY
 Rounds the argument to an integer value in floating-point format, using the current rounding direction. More...
 
float nearbyint (float _X) __GPU_ONLY
 Rounds the argument to an integer value in floating-point format, using the current rounding direction. More...
 
double nearbyint (double _X) __GPU_ONLY
 Rounds the argument to an integer value in floating-point format, using the current rounding direction. More...
 
float nextafterf (float _X, float _Y) __GPU_ONLY
 Determine the next representable value, in the type of the function, after _X in the direction of _Y More...
 
float nextafter (float _X, float _Y) __GPU_ONLY
 Determine the next representable value, in the type of the function, after _X in the direction of _Y More...
 
double nextafter (double _X, double _Y) __GPU_ONLY
 Determine the next representable value, in the type of the function, after _X in the direction of _Y More...
 
float phif (float _X) __GPU_ONLY
 Returns the cumulative distribution function of the argument More...
 
float phi (float _X) __GPU_ONLY
 Returns the cumulative distribution function of the argument More...
 
double phi (double _X) __GPU_ONLY
 Returns the cumulative distribution function of the argument 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...
 
double pow (double _X, double _Y) __GPU_ONLY
 Calculates _X raised to the power of _Y More...
 
float probitf (float _X) __GPU_ONLY
 Returns the inverse cumulative distribution function of the argument More...
 
float probit (float _X) __GPU_ONLY
 Returns the inverse cumulative distribution function of the argument More...
 
double probit (double _X) __GPU_ONLY
 Returns the inverse cumulative distribution function of the argument More...
 
float rcbrtf (float _X) __GPU_ONLY
 Returns the reciprocal of the cube root of the argument More...
 
float rcbrt (float _X) __GPU_ONLY
 Returns the reciprocal of the cube root of the argument More...
 
double rcbrt (double _X) __GPU_ONLY
 Returns the reciprocal of the cube root of the argument More...
 
float remainderf (float _X, float _Y) __GPU_ONLY
 Computes the remainder: _X REM _Y More...
 
float remainder (float _X, float _Y) __GPU_ONLY
 Computes the remainder: _X REM _Y More...
 
double remainder (double _X, double _Y) __GPU_ONLY
 Computes the remainder: _X REM _Y More...
 
float remquof (float _X, float _Y, _Out_ int *_Quo) __GPU_ONLY
 Computes the same remainder as _X REM _Y. Also calculates the lower 24 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. More...
 
float remquo (float _X, float _Y, _Out_ int *_Quo) __GPU_ONLY
 Computes the same remainder as _X REM _Y. Also calculates the lower 24 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. More...
 
double remquo (double _X, double _Y, _Out_ int *_Quo) __GPU_ONLY
 Computes the same remainder as _X REM _Y. Also calculates the lower 31 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. 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...
 
double round (double _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...
 
double rsqrt (double _X) __GPU_ONLY
 Returns the reciprocal of the square root of the argument More...
 
float scalbf (float _X, float _Y) __GPU_ONLY
 Multiplies _X by FLT_RADIX to the power _Y More...
 
float scalb (float _X, float _Y) __GPU_ONLY
 Multiplies _X by FLT_RADIX to the power _Y More...
 
double scalb (double _X, double _Y) __GPU_ONLY
 Multiplies _X by FLT_RADIX to the power _Y More...
 
float scalbnf (float _X, int _Y) __GPU_ONLY
 Multiplies _X by FLT_RADIX to the power _Y More...
 
float scalbn (float _X, int _Y) __GPU_ONLY
 Multiplies _X by FLT_RADIX to the power _Y More...
 
double scalbn (double _X, int _Y) __GPU_ONLY
 Multiplies _X by FLT_RADIX to the power _Y More...
 
int signbitf (float _X) __GPU_ONLY
 Determines whether the sign of _X is negative More...
 
int signbit (float _X) __GPU_ONLY
 Determines whether the sign of _X is negative More...
 
int signbit (double _X) __GPU_ONLY
 Determines whether the sign of _X is negative 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...
 
double sin (double _X) __GPU_ONLY
 Calculates the sine value of the argument More...
 
void sincosf (float _X, _Out_ float *_S, _Out_ float *_C) __GPU_ONLY
 Calculates sine and cosine value of _X More...
 
void sincos (float _X, _Out_ float *_S, _Out_ float *_C) __GPU_ONLY
 Calculates sine and cosine value of _X More...
 
void sincos (double _X, _Out_ double *_S, _Out_ double *_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...
 
double sinh (double _X) __GPU_ONLY
 Calculates the hyperbolic sine value of the argument More...
 
float sinpif (float _X) __GPU_ONLY
 Calculates the sine value of pi * _X More...
 
float sinpi (float _X) __GPU_ONLY
 Calculates the sine value of pi * _X More...
 
double sinpi (double _X) __GPU_ONLY
 Calculates the sine value of pi * _X More...
 
float sqrtf (float _X) __GPU_ONLY
 Calculates the squre root of the argument More...
 
float sqrt (float _X) __GPU_ONLY
 Calculates the squre root of the argument More...
 
double sqrt (double _X) __GPU_ONLY
 Calculates the squre root of the argument More...
 
float tgammaf (float _X) __GPU_ONLY
 Computes the gamma function of _X More...
 
float tgamma (float _X) __GPU_ONLY
 Computes the gamma function of _X More...
 
double tgamma (double _X) __GPU_ONLY
 Computes the gamma function of _X 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...
 
double tan (double _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...
 
double tanh (double _X) __GPU_ONLY
 Calculates the hyperbolic tangent value of the argument More...
 
float tanpif (float _X) __GPU_ONLY
 Calculates the tangent value of pi * _X More...
 
float tanpi (float _X) __GPU_ONLY
 Calculates the tangent value of pi * _X More...
 
double tanpi (double _X) __GPU_ONLY
 Calculates the tangent value of pi * _X 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...
 
double trunc (double _X) __GPU_ONLY
 Truncates the argument to the integer component More...
 

Detailed Description

Functions in the precise_math namespace have higher accuracy, but require double-precision support, which not all accelerators do.

Function Documentation

float Concurrency::precise_math::acos ( float  _X)
inline

Calculates the arccosine of the argument

Parameters
_XFloating-point value
Returns
Returns the arccosine value of the argument
1282  {
1283  return __dp_math_acosf(_X);
1284  }
float __dp_math_acosf(float) __GPU_ONLY
double Concurrency::precise_math::acos ( double  _X)
inline

Calculates the arccosine of the argument

Parameters
_XFloating-point value
Returns
Returns the arccosine value of the argument
1296  {
1297  return __dp_math_acos(_X);
1298  }
double __dp_math_acos(double) __GPU_ONLY
float Concurrency::precise_math::acosf ( float  _X)
inline

Calculates the arccosine of the argument

Parameters
_XFloating-point value
Returns
Returns the arccosine value of the argument
1268  {
1269  return __dp_math_acosf(_X);
1270  }
float __dp_math_acosf(float) __GPU_ONLY
float Concurrency::precise_math::acosh ( float  _X)
inline

Calculates the inverse hyperbolic cosine of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse hyperbolic cosine value of the argument
1324  {
1325  return __dp_math_acoshf(_X);
1326  }
float __dp_math_acoshf(float) __GPU_ONLY
double Concurrency::precise_math::acosh ( double  _X)
inline

Calculates the inverse hyperbolic cosine of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse hyperbolic cosine value of the argument
1338  {
1339  return __dp_math_acosh(_X);
1340  }
double __dp_math_acosh(double) __GPU_ONLY
float Concurrency::precise_math::acoshf ( float  _X)
inline

Calculates the inverse hyperbolic cosine of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse hyperbolic cosine value of the argument
1310  {
1311  return __dp_math_acoshf(_X);
1312  }
float __dp_math_acoshf(float) __GPU_ONLY
float Concurrency::precise_math::asin ( float  _X)
inline

Calculates the arcsine of the argument

Parameters
_XFloating-point value
Returns
Returns the arcsine value of the argument
1367  {
1368  return __dp_math_asinf(_X);
1369  }
float __dp_math_asinf(float) __GPU_ONLY
double Concurrency::precise_math::asin ( double  _X)
inline

Calculates the arcsine of the argument

Parameters
_XFloating-point value
Returns
Returns the arcsine value of the argument
1381  {
1382  return __dp_math_asin(_X);
1383  }
double __dp_math_asin(double) __GPU_ONLY
float Concurrency::precise_math::asinf ( float  _X)
inline

Calculates the arcsine of the argument

Parameters
_XFloating-point value
Returns
Returns the arcsine value of the argument
1353  {
1354  return __dp_math_asinf(_X);
1355  }
float __dp_math_asinf(float) __GPU_ONLY
float Concurrency::precise_math::asinh ( float  _X)
inline

Calculates the inverse hyperbolic sine of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse hyperbolic sine value of the argument
1409  {
1410  return __dp_math_asinhf(_X);
1411  }
float __dp_math_asinhf(float) __GPU_ONLY
double Concurrency::precise_math::asinh ( double  _X)
inline

Calculates the inverse hyperbolic sine of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse hyperbolic sine value of the argument
1423  {
1424  return __dp_math_asinh(_X);
1425  }
double __dp_math_asinh(double) __GPU_ONLY
float Concurrency::precise_math::asinhf ( float  _X)
inline

Calculates the inverse hyperbolic sine of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse hyperbolic sine value of the argument
1395  {
1396  return __dp_math_asinhf(_X);
1397  }
float __dp_math_asinhf(float) __GPU_ONLY
float Concurrency::precise_math::atan ( float  _X)
inline

Calculates the arctangent of the argument

Parameters
_XFloating-point value
Returns
Returns the arctangent value of the argument
1451  {
1452  return __dp_math_atanf(_X);
1453  }
float __dp_math_atanf(float) __GPU_ONLY
double Concurrency::precise_math::atan ( double  _X)
inline

Calculates the arctangent of the argument

Parameters
_XFloating-point value
Returns
Returns the arctangent value of the argument
1465  {
1466  return __dp_math_atan(_X);
1467  }
double __dp_math_atan(double) __GPU_ONLY
float Concurrency::precise_math::atan2 ( float  _Y,
float  _X 
)
inline

Calculates the arctangent of _Y/_X

Parameters
_YFloating-point value
_XFloating-point value
Returns
Returns the arctangent value of _Y/_X
1499  {
1500  return __dp_math_atan2f(_Y, _X);
1501  }
float __dp_math_atan2f(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
double Concurrency::precise_math::atan2 ( double  _Y,
double  _X 
)
inline

Calculates the arctangent of _Y/_X

Parameters
_YFloating-point value
_XFloating-point value
Returns
Returns the arctangent value of _Y/_X
1516  {
1517  return __dp_math_atan2(_Y, _X);
1518  }
double __dp_math_atan2(double, double) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::atan2f ( float  _Y,
float  _X 
)
inline

Calculates the arctangent of _Y/_X

Parameters
_YFloating-point value
_XFloating-point value
Returns
Returns the arctangent value of _Y/_X
1482  {
1483  return __dp_math_atan2f(_Y, _X);
1484  }
float __dp_math_atan2f(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::atanf ( float  _X)
inline

Calculates the arctangent of the argument

Parameters
_XFloating-point value
Returns
Returns the arctangent value of the argument
1437  {
1438  return __dp_math_atanf(_X);
1439  }
float __dp_math_atanf(float) __GPU_ONLY
float Concurrency::precise_math::atanh ( float  _X)
inline

Calculates the inverse hyperbolic tangent of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse hyperbolic tangent value of the argument
1545  {
1546  return __dp_math_atanhf(_X);
1547  }
float __dp_math_atanhf(float) __GPU_ONLY
double Concurrency::precise_math::atanh ( double  _X)
inline

Calculates the inverse hyperbolic tangent of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse hyperbolic tangent value of the argument
1559  {
1560  return __dp_math_atanh(_X);
1561  }
double __dp_math_atanh(double) __GPU_ONLY
float Concurrency::precise_math::atanhf ( float  _X)
inline

Calculates the inverse hyperbolic tangent of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse hyperbolic tangent value of the argument
1531  {
1532  return __dp_math_atanhf(_X);
1533  }
float __dp_math_atanhf(float) __GPU_ONLY
float Concurrency::precise_math::cbrt ( float  _X)
inline

Computes the real cube root of the argument

Parameters
_XFloating-point value
Returns
Returns the real cube root of the argument
1587  {
1588  return __dp_math_cbrtf(_X);
1589  }
float __dp_math_cbrtf(float) __GPU_ONLY
double Concurrency::precise_math::cbrt ( double  _X)
inline

Computes the real cube root of the argument

Parameters
_XFloating-point value
Returns
Returns the real cube root of the argument
1601  {
1602  return __dp_math_cbrt(_X);
1603  }
double __dp_math_cbrt(double) __GPU_ONLY
float Concurrency::precise_math::cbrtf ( float  _X)
inline

Computes the real cube root of the argument

Parameters
_XFloating-point value
Returns
Returns the real cube root of the argument
1573  {
1574  return __dp_math_cbrtf(_X);
1575  }
float __dp_math_cbrtf(float) __GPU_ONLY
float Concurrency::precise_math::ceil ( float  _X)
inline

Calculates the ceiling of the argument

Parameters
_XFloating-point value
Returns
Returns the ceiling of the argument
1629  {
1630  return __dp_math_ceilf(_X);
1631  }
float __dp_math_ceilf(float) __GPU_ONLY
double Concurrency::precise_math::ceil ( double  _X)
inline

Calculates the ceiling of the argument

Parameters
_XFloating-point value
Returns
Returns the ceiling of the argument
1643  {
1644  return __dp_math_ceil(_X);
1645  }
double __dp_math_ceil(double) __GPU_ONLY
float Concurrency::precise_math::ceilf ( float  _X)
inline

Calculates the ceiling of the argument

Parameters
_XFloating-point value
Returns
Returns the ceiling of the argument
1615  {
1616  return __dp_math_ceilf(_X);
1617  }
float __dp_math_ceilf(float) __GPU_ONLY
float Concurrency::precise_math::copysign ( float  _X,
float  _Y 
)
inline

Produces a value with the magnitude of _X and the sign of _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns a value with the magnitude of _X and the sign of _Y
1677  {
1678  return __dp_math_copysignf(_X, _Y);
1679  }
_In_ double _Y
Definition: math.h:999
float __dp_math_copysignf(float, float) __GPU_ONLY
double Concurrency::precise_math::copysign ( double  _X,
double  _Y 
)
inline

Produces a value with the magnitude of _X and the sign of _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns a value with the magnitude of _X and the sign of _Y
1694  {
1695  return __dp_math_copysign(_X, _Y);
1696  }
_In_ double _Y
Definition: math.h:999
double __dp_math_copysign(double, double) __GPU_ONLY
float Concurrency::precise_math::copysignf ( float  _X,
float  _Y 
)
inline

Produces a value with the magnitude of _X and the sign of _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns a value with the magnitude of _X and the sign of _Y
1660  {
1661  return __dp_math_copysignf(_X, _Y);
1662  }
_In_ double _Y
Definition: math.h:999
float __dp_math_copysignf(float, float) __GPU_ONLY
float Concurrency::precise_math::cos ( float  _X)
inline

Calculates the cosine of the argument

Parameters
_XFloating-point value
Returns
Returns the cosine value of the argument
1722  {
1723  return __dp_math_cosf(_X);
1724  }
float __dp_math_cosf(float) __GPU_ONLY
double Concurrency::precise_math::cos ( double  _X)
inline

Calculates the cosine of the argument

Parameters
_XFloating-point value
Returns
Returns the cosine value of the argument
1736  {
1737  return __dp_math_cos(_X);
1738  }
double __dp_math_cos(double) __GPU_ONLY
float Concurrency::precise_math::cosf ( float  _X)
inline

Calculates the cosine of the argument

Parameters
_XFloating-point value
Returns
Returns the cosine value of the argument
1708  {
1709  return __dp_math_cosf(_X);
1710  }
float __dp_math_cosf(float) __GPU_ONLY
float Concurrency::precise_math::cosh ( float  _X)
inline

Calculates the hyperbolic cosine value of the argument

Parameters
_XFloating-point value
Returns
Returns the hyperbolic cosine value of the argument
1764  {
1765  return __dp_math_coshf(_X);
1766  }
float __dp_math_coshf(float) __GPU_ONLY
double Concurrency::precise_math::cosh ( double  _X)
inline

Calculates the hyperbolic cosine value of the argument

Parameters
_XFloating-point value
Returns
Returns the hyperbolic cosine value of the argument
1778  {
1779  return __dp_math_cosh(_X);
1780  }
double __dp_math_cosh(double) __GPU_ONLY
float Concurrency::precise_math::coshf ( float  _X)
inline

Calculates the hyperbolic cosine value of the argument

Parameters
_XFloating-point value
Returns
Returns the hyperbolic cosine value of the argument
1750  {
1751  return __dp_math_coshf(_X);
1752  }
float __dp_math_coshf(float) __GPU_ONLY
float Concurrency::precise_math::cospi ( float  _X)
inline

Calculates the cosine value of pi * _X

Parameters
_XFloating-point value
Returns
Returns the cosine value of pi * _X
1806  {
1807  return __dp_math_cospif(_X);
1808  }
float __dp_math_cospif(float) __GPU_ONLY
double Concurrency::precise_math::cospi ( double  _X)
inline

Calculates the cosine value of pi * _X

Parameters
_XFloating-point value
Returns
Returns the cosine value of pi * _X
1820  {
1821  return __dp_math_cospi(_X);
1822  }
double __dp_math_cospi(double) __GPU_ONLY
float Concurrency::precise_math::cospif ( float  _X)
inline

Calculates the cosine value of pi * _X

Parameters
_XFloating-point value
Returns
Returns the cosine value of pi * _X
1792  {
1793  return __dp_math_cospif(_X);
1794  }
float __dp_math_cospif(float) __GPU_ONLY
float Concurrency::precise_math::erf ( float  _X)
inline

Computes the error function of _X

Parameters
_XFloating-point value
Returns
Returns the error function of _X
1848  {
1849  return __dp_math_erff(_X);
1850  }
float __dp_math_erff(float) __GPU_ONLY
double Concurrency::precise_math::erf ( double  _X)
inline

Computes the error function of _X

Parameters
_XFloating-point value
Returns
Returns the error function of _X
1862  {
1863  return __dp_math_erf(_X);
1864  }
double __dp_math_erf(double) __GPU_ONLY
float Concurrency::precise_math::erfc ( float  _X)
inline

Computes the complementary error function of _X

Parameters
_XFloating-point value
Returns
Returns the complementary error function of _X
1890  {
1891  return __dp_math_erfcf(_X);
1892  }
float __dp_math_erfcf(float) __GPU_ONLY
double Concurrency::precise_math::erfc ( double  _X)
inline

Computes the complementary error function of _X

Parameters
_XFloating-point value
Returns
Returns the complementary error function of _X
1904  {
1905  return __dp_math_erfc(_X);
1906  }
double __dp_math_erfc(double) __GPU_ONLY
float Concurrency::precise_math::erfcf ( float  _X)
inline

Computes the complementary error function of _X

Parameters
_XFloating-point value
Returns
Returns the complementary error function of _X
1876  {
1877  return __dp_math_erfcf(_X);
1878  }
float __dp_math_erfcf(float) __GPU_ONLY
float Concurrency::precise_math::erfcinv ( float  _X)
inline

Computes the inverse complementary error function of _X

Parameters
_XFloating-point value
Returns
Returns the inverse complementary error function of _X
1974  {
1975  return __dp_math_erfcinvf(_X);
1976  }
float __dp_math_erfcinvf(float) __GPU_ONLY
double Concurrency::precise_math::erfcinv ( double  _X)
inline

Computes the inverse complementary error function of _X

Parameters
_XFloating-point value
Returns
Returns the inverse complementary error function of _X
1988  {
1989  return __dp_math_erfcinv(_X);
1990  }
double __dp_math_erfcinv(double) __GPU_ONLY
float Concurrency::precise_math::erfcinvf ( float  _X)
inline

Computes the inverse complementary error function of _X

Parameters
_XFloating-point value
Returns
Returns the inverse complementary error function of _X
1960  {
1961  return __dp_math_erfcinvf(_X);
1962  }
float __dp_math_erfcinvf(float) __GPU_ONLY
float Concurrency::precise_math::erff ( float  _X)
inline

Computes the error function of _X

Parameters
_XFloating-point value
Returns
Returns the error function of _X
1834  {
1835  return __dp_math_erff(_X);
1836  }
float __dp_math_erff(float) __GPU_ONLY
float Concurrency::precise_math::erfinv ( float  _X)
inline

Computes the inverse error function of _X

Parameters
_XFloating-point value
Returns
Returns the inverse error function of _X
1932  {
1933  return __dp_math_erfinvf(_X);
1934  }
float __dp_math_erfinvf(float) __GPU_ONLY
double Concurrency::precise_math::erfinv ( double  _X)
inline

Computes the inverse error function of _X

Parameters
_XFloating-point value
Returns
Returns the inverse error function of _X
1946  {
1947  return __dp_math_erfinv(_X);
1948  }
double __dp_math_erfinv(double) __GPU_ONLY
float Concurrency::precise_math::erfinvf ( float  _X)
inline

Computes the inverse error function of _X

Parameters
_XFloating-point value
Returns
Returns the inverse error function of _X
1918  {
1919  return __dp_math_erfinvf(_X);
1920  }
float __dp_math_erfinvf(float) __GPU_ONLY
float Concurrency::precise_math::exp ( float  _X)
inline

Calculates the base-e exponential of the argument

Parameters
_XFloating-point value
Returns
Returns the base-e exponential of the argument
2016  {
2017  return __dp_math_expf(_X);
2018  }
float __dp_math_expf(float) __GPU_ONLY
double Concurrency::precise_math::exp ( double  _X)
inline

Calculates the base-e exponential of the argument

Parameters
_XFloating-point value
Returns
Returns the base-e exponential of the argument
2030  {
2031  return __dp_math_exp(_X);
2032  }
double __dp_math_exp(double) __GPU_ONLY
float Concurrency::precise_math::exp10 ( float  _X)
inline

Calculates the base-10 exponential of the argument

Parameters
_XFloating-point value
Returns
Returns the base-10 exponential of the argument
2100  {
2101  return __dp_math_exp10f(_X);
2102  }
float __dp_math_exp10f(float) __GPU_ONLY
double Concurrency::precise_math::exp10 ( double  _X)
inline

Calculates the base-10 exponential of the argument

Parameters
_XFloating-point value
Returns
Returns the base-10 exponential of the argument
2114  {
2115  return __dp_math_exp10(_X);
2116  }
double __dp_math_exp10(double) __GPU_ONLY
float Concurrency::precise_math::exp10f ( float  _X)
inline

Calculates the base-10 exponential of the argument

Parameters
_XFloating-point value
Returns
Returns the base-10 exponential of the argument
2086  {
2087  return __dp_math_exp10f(_X);
2088  }
float __dp_math_exp10f(float) __GPU_ONLY
float Concurrency::precise_math::exp2 ( float  _X)
inline

Calculates the base-2 exponential of the argument

Parameters
_XFloating-point value
Returns
Returns the base-2 exponential of the argument
2058  {
2059  return __dp_math_exp2f(_X);
2060  }
float __dp_math_exp2f(float) __GPU_ONLY
double Concurrency::precise_math::exp2 ( double  _X)
inline

Calculates the base-2 exponential of the argument

Parameters
_XFloating-point value
Returns
Returns the base-2 exponential of the argument
2072  {
2073  return __dp_math_exp2(_X);
2074  }
double __dp_math_exp2(double) __GPU_ONLY
float Concurrency::precise_math::exp2f ( float  _X)
inline

Calculates the base-2 exponential of the argument

Parameters
_XFloating-point value
Returns
Returns the base-2 exponential of the argument
2044  {
2045  return __dp_math_exp2f(_X);
2046  }
float __dp_math_exp2f(float) __GPU_ONLY
float Concurrency::precise_math::expf ( float  _X)
inline

Calculates the base-e exponential of the argument

Parameters
_XFloating-point value
Returns
Returns the base-e exponential of the argument
2002  {
2003  return __dp_math_expf(_X);
2004  }
float __dp_math_expf(float) __GPU_ONLY
float Concurrency::precise_math::expm1 ( float  _X)
inline

Calculates the base-e exponential of the argument, minus 1

Parameters
_XFloating-point value
Returns
Returns the base-e exponential of the argument, minus 1
2142  {
2143  return __dp_math_expm1f(_X);
2144  }
float __dp_math_expm1f(float) __GPU_ONLY
double Concurrency::precise_math::expm1 ( double  _X)
inline

Calculates the base-e exponential of the argument, minus 1

Parameters
_XFloating-point value
Returns
Returns the base-e exponential of the argument, minus 1
2156  {
2157  return __dp_math_expm1(_X);
2158  }
double __dp_math_expm1(double) __GPU_ONLY
float Concurrency::precise_math::expm1f ( float  _X)
inline

Calculates the base-e exponential of the argument, minus 1

Parameters
_XFloating-point value
Returns
Returns the base-e exponential of the argument, minus 1
2128  {
2129  return __dp_math_expm1f(_X);
2130  }
float __dp_math_expm1f(float) __GPU_ONLY
float Concurrency::precise_math::fabs ( float  _X)
inline

Returns the absolute value of the argument

Parameters
_XFloating-point value
Returns
Returns the absolute value of the argument
2184  {
2185  return __dp_math_fabsf(_X);
2186  }
float __dp_math_fabsf(float) __GPU_ONLY
double Concurrency::precise_math::fabs ( double  _X)
inline

Returns the absolute value of the argument

Parameters
_XFloating-point value
Returns
Returns the absolute value of the argument
2198  {
2199  return __dp_math_fabs(_X);
2200  }
double __dp_math_fabs(double) __GPU_ONLY
float Concurrency::precise_math::fabsf ( float  _X)
inline

Returns the absolute value of the argument

Parameters
_XFloating-point value
Returns
Returns the absolute value of the argument
2170  {
2171  return __dp_math_fabsf(_X);
2172  }
float __dp_math_fabsf(float) __GPU_ONLY
float Concurrency::precise_math::fdim ( float  _X,
float  _Y 
)
inline

Determines the positive difference between the arguments

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns _X - _Y if _X > _Y; +0, otherwise
2233  {
2234  return __dp_math_fdimf(_X, _Y);
2235  }
float __dp_math_fdimf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
double Concurrency::precise_math::fdim ( double  _X,
double  _Y 
)
inline

Determines the positive difference between the arguments

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns _X - _Y if _X > _Y; +0, otherwise
2251  {
2252  return __dp_math_fdim(_X, _Y);
2253  }
double __dp_math_fdim(double, double) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::fdimf ( float  _X,
float  _Y 
)
inline

Determines the positive difference between the arguments

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns _X - _Y if _X > _Y; +0, otherwise
2215  {
2216  return __dp_math_fdimf(_X, _Y);
2217  }
float __dp_math_fdimf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::floor ( float  _X)
inline

Calculates the floor of the argument

Parameters
_XFloating-point value
Returns
Returns the floor of the argument
2279  {
2280  return __dp_math_floorf(_X);
2281  }
float __dp_math_floorf(float) __GPU_ONLY
double Concurrency::precise_math::floor ( double  _X)
inline

Calculates the floor of the argument

Parameters
_XFloating-point value
Returns
Returns the floor of the argument
2293  {
2294  return __dp_math_floor(_X);
2295  }
double __dp_math_floor(double) __GPU_ONLY
float Concurrency::precise_math::floorf ( float  _X)
inline

Calculates the floor of the argument

Parameters
_XFloating-point value
Returns
Returns the floor of the argument
2265  {
2266  return __dp_math_floorf(_X);
2267  }
float __dp_math_floorf(float) __GPU_ONLY
float Concurrency::precise_math::fma ( float  _X,
float  _Y,
float  _Z 
)
inline

Compute (_X * _Y) + _Z, rounded as one ternary operation

Parameters
_XFloating-point value
_YFloating-point value
_ZFloating-point value
Returns
Returns (_X * _Y) + _Z, rounded as one ternary operation
2333  {
2334  return __dp_math_fmaf(_X, _Y, _Z);
2335  }
_In_ double _Y
Definition: math.h:999
float __dp_math_fmaf(float, float, float) __GPU_ONLY
double Concurrency::precise_math::fma ( double  _X,
double  _Y,
double  _Z 
)
inline

Compute (_X * _Y) + _Z, rounded as one ternary operation

Parameters
_XFloating-point value
_YFloating-point value
_ZFloating-point value
Returns
Returns (_X * _Y) + _Z, rounded as one ternary operation
2353  {
2354  return __dp_math_fma(_X, _Y, _Z);
2355  }
_In_ double _Y
Definition: math.h:999
double __dp_math_fma(double, double, double) __GPU_ONLY
float Concurrency::precise_math::fmaf ( float  _X,
float  _Y,
float  _Z 
)
inline

Compute (_X * _Y) + _Z, rounded as one ternary operation

Parameters
_XFloating-point value
_YFloating-point value
_ZFloating-point value
Returns
Returns (_X * _Y) + _Z, rounded as one ternary operation
2313  {
2314  return __dp_math_fmaf(_X, _Y, _Z);
2315  }
_In_ double _Y
Definition: math.h:999
float __dp_math_fmaf(float, float, float) __GPU_ONLY
float Concurrency::precise_math::fmax ( float  _X,
float  _Y 
)
inline

Determine the maximum numeric value of the arguments

Parameters
_XFloating-point value
_YFloating-point value
Returns
Return the maximum numeric value of the arguments
2387  {
2388  return __dp_math_fmaxf(_X, _Y);
2389  }
float __dp_math_fmaxf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
double Concurrency::precise_math::fmax ( double  _X,
double  _Y 
)
inline

Determine the maximum numeric value of the arguments

Parameters
_XFloating-point value
_YFloating-point value
Returns
Return the maximum numeric value of the arguments
2404  {
2405  return __dp_math_fmax(_X, _Y);
2406  }
double __dp_math_fmax(double, double) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::fmaxf ( float  _X,
float  _Y 
)
inline

Determine the maximum numeric value of the arguments

Parameters
_XFloating-point value
_YFloating-point value
Returns
Return the maximum numeric value of the arguments
2370  {
2371  return __dp_math_fmaxf(_X, _Y);
2372  }
float __dp_math_fmaxf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::fmin ( float  _X,
float  _Y 
)
inline

Determine the minimum numeric value of the arguments

Parameters
_XFloating-point value
_YFloating-point value
Returns
Return the minimum numeric value of the arguments
2438  {
2439  return __dp_math_fminf(_X, _Y);
2440  }
float __dp_math_fminf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
double Concurrency::precise_math::fmin ( double  _X,
double  _Y 
)
inline

Determine the minimum numeric value of the arguments

Parameters
_XFloating-point value
_YFloating-point value
Returns
Return the minimum numeric value of the arguments
2455  {
2456  return __dp_math_fmin(_X, _Y);
2457  }
_In_ double _Y
Definition: math.h:999
double __dp_math_fmin(double, double) __GPU_ONLY
float Concurrency::precise_math::fminf ( float  _X,
float  _Y 
)
inline

Determine the minimum numeric value of the arguments

Parameters
_XFloating-point value
_YFloating-point value
Returns
Return the minimum numeric value of the arguments
2421  {
2422  return __dp_math_fminf(_X, _Y);
2423  }
float __dp_math_fminf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::fmod ( float  _X,
float  _Y 
)
inline

Calculates the floating-point remainder of _X/_Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns the floating-point remainder of _X/_Y
2489  {
2490  return __dp_math_fmodf(_X, _Y);
2491  }
_In_ double _Y
Definition: math.h:999
float __dp_math_fmodf(float, float) __GPU_ONLY
double Concurrency::precise_math::fmod ( double  _X,
double  _Y 
)
inline

Calculates the floating-point remainder of _X/_Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns the floating-point remainder of _X/_Y
2506  {
2507  return __dp_math_fmod(_X, _Y);
2508  }
double __dp_math_fmod(double, double) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::fmodf ( float  _X,
float  _Y 
)
inline

Calculates the floating-point remainder of _X/_Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns the floating-point remainder of _X/_Y
2472  {
2473  return __dp_math_fmodf(_X, _Y);
2474  }
_In_ double _Y
Definition: math.h:999
float __dp_math_fmodf(float, float) __GPU_ONLY
int Concurrency::precise_math::fpclassify ( float  _X)
inline

Classifies the argument value as NaN, infinite, normal, subnormal, zero

Parameters
_XFloating-point value
Returns
Returns the value of the number classification macro appropriate to the value of the argument.
2521  {
2522  return __dp_math_fpclassifyf(_X);
2523  }
int __dp_math_fpclassifyf(float) __GPU_ONLY
int Concurrency::precise_math::fpclassify ( double  _X)
inline

Classifies the argument value as NaN, infinite, normal, subnormal, zero

Parameters
_XFloating-point value
Returns
Returns the value of the number classification macro appropriate to the value of the argument.
2535  {
2536  return __dp_math_fpclassify(_X);
2537  }
int __dp_math_fpclassify(double) __GPU_ONLY
float Concurrency::precise_math::frexp ( float  _X,
_Out_ int _Exp 
)
inline

Gets the mantissa and exponent of _X

Parameters
_XFloating-point value
_ExpReturns the integer exponent of _X in floating-point value
Returns
Returns the mantissa _X
2569  {
2570  return __dp_math_frexpf(_X, _Exp);
2571  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
float __dp_math_frexpf(float, _Out_ int *) __GPU_ONLY
double Concurrency::precise_math::frexp ( double  _X,
_Out_ int _Exp 
)
inline

Gets the mantissa and exponent of _X

Parameters
_XFloating-point value
_ExpReturns the integer exponent of _X in floating-point value
Returns
Returns the mantissa _X
2586  {
2587  return __dp_math_frexp(_X, _Exp);
2588  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
double __dp_math_frexp(double, _Out_ int *) __GPU_ONLY
float Concurrency::precise_math::frexpf ( float  _X,
_Out_ int _Exp 
)
inline

Gets the mantissa and exponent of _X

Parameters
_XFloating-point value
_ExpReturns the integer exponent of _X in floating-point value
Returns
Returns the mantissa _X
2552  {
2553  return __dp_math_frexpf(_X, _Exp);
2554  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
float __dp_math_frexpf(float, _Out_ int *) __GPU_ONLY
float Concurrency::precise_math::hypot ( float  _X,
float  _Y 
)
inline

Computes the square root of the sum of the squares of _X and _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns the square root of the sum of the squares of _X and _Y
2620  {
2621  return __dp_math_hypotf(_X, _Y);
2622  }
float __dp_math_hypotf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
double Concurrency::precise_math::hypot ( double  _X,
double  _Y 
)
inline

Computes the square root of the sum of the squares of _X and _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns the square root of the sum of the squares of _X and _Y
2637  {
2638  return __dp_math_hypot(_X, _Y);
2639  }
double __dp_math_hypot(double, double) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::hypotf ( float  _X,
float  _Y 
)
inline

Computes the square root of the sum of the squares of _X and _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns the square root of the sum of the squares of _X and _Y
2603  {
2604  return __dp_math_hypotf(_X, _Y);
2605  }
float __dp_math_hypotf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
int Concurrency::precise_math::ilogb ( float  _X)
inline

Extract the exponent of _X as a signed int value

Parameters
_XFloating-point value
Returns
Returns the exponent of _X as a signed int value
2665  {
2666  return __dp_math_ilogbf(_X);
2667  }
int __dp_math_ilogbf(float) __GPU_ONLY
int Concurrency::precise_math::ilogb ( double  _X)
inline

Extract the exponent of _X as a signed int value

Parameters
_XFloating-point value
Returns
Returns the exponent of _X as a signed int value
2679  {
2680  return __dp_math_ilogb(_X);
2681  }
int __dp_math_ilogb(double) __GPU_ONLY
int Concurrency::precise_math::ilogbf ( float  _X)
inline

Extract the exponent of _X as a signed int value

Parameters
_XFloating-point value
Returns
Returns the exponent of _X as a signed int value
2651  {
2652  return __dp_math_ilogbf(_X);
2653  }
int __dp_math_ilogbf(float) __GPU_ONLY
int Concurrency::precise_math::isfinite ( float  _X)
inline

Determines whether the argument has a finite value

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the argument has a finite value
2693  {
2694  return __dp_math_isfinitef(_X);
2695  }
int __dp_math_isfinitef(float) __GPU_ONLY
int Concurrency::precise_math::isfinite ( double  _X)
inline

Determines whether the argument has a finite value

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the argument has a finite value
2707  {
2708  return __dp_math_isfinite(_X);
2709  }
int __dp_math_isfinite(double) __GPU_ONLY
int Concurrency::precise_math::isinf ( float  _X)
inline

Determines whether the argument is an infinity

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the argument has an infinite value
2721  {
2722  return __dp_math_isinff(_X);
2723  }
int __dp_math_isinff(float) __GPU_ONLY
int Concurrency::precise_math::isinf ( double  _X)
inline

Determines whether the argument is an infinity

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the argument has an infinite value
2735  {
2736  return __dp_math_isinf(_X);
2737  }
int __dp_math_isinf(double) __GPU_ONLY
int Concurrency::precise_math::isnan ( float  _X)
inline

Determines whether the argument is a NaN

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the argument has a NaN value
2749  {
2750  return __dp_math_isnanf(_X);
2751  }
int __dp_math_isnanf(float) __GPU_ONLY
int Concurrency::precise_math::isnan ( double  _X)
inline

Determines whether the argument is a NaN

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the argument has a NaN value
2763  {
2764  return __dp_math_isnan(_X);
2765  }
int __dp_math_isnan(double) __GPU_ONLY
int Concurrency::precise_math::isnormal ( float  _X)
inline

Determines whether the argument is a normal

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the argument has a normal value
2777  {
2778  return __dp_math_isnormalf(_X);
2779  }
int __dp_math_isnormalf(float) __GPU_ONLY
int Concurrency::precise_math::isnormal ( double  _X)
inline

Determines whether the argument is a normal

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the argument has a normal value
2791  {
2792  return __dp_math_isnormal(_X);
2793  }
int __dp_math_isnormal(double) __GPU_ONLY
float Concurrency::precise_math::ldexp ( float  _X,
int  _Exp 
)
inline

Computes a real number from the mantissa and exponent

Parameters
_XFloating-point value, mantissa
_ExpInteger value, exponent
Returns
Returns _X * 2^_Exp
2825  {
2826  return __dp_math_ldexpf(_X, _Exp);
2827  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
float __dp_math_ldexpf(float, int) __GPU_ONLY
double Concurrency::precise_math::ldexp ( double  _X,
int  _Exp 
)
inline

Computes a real number from the mantissa and exponent

Parameters
_XFloating-point value, mantissa
_ExpInteger value, exponent
Returns
Returns _X * 2^_Exp
2842  {
2843  return __dp_math_ldexp(_X, _Exp);
2844  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
double __dp_math_ldexp(double, int) __GPU_ONLY
float Concurrency::precise_math::ldexpf ( float  _X,
int  _Exp 
)
inline

Computes a real number from the mantissa and exponent

Parameters
_XFloating-point value, mantissa
_ExpInteger value, exponent
Returns
Returns _X * 2^_Exp
2808  {
2809  return __dp_math_ldexpf(_X, _Exp);
2810  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
float __dp_math_ldexpf(float, int) __GPU_ONLY
float Concurrency::precise_math::lgamma ( float  _X,
_Out_ int _Sign 
)
inline

Computes the natural logarithm of the absolute value of gamma of the argument

Parameters
_XFloating-point value
_SignReturns the sign
Returns
Returns the natural logarithm of the absolute value of gamma of the argument
2876  {
2877  return __dp_math_lgammaf(_X, _Sign);
2878  }
float __dp_math_lgammaf(float, _Out_ int *) __GPU_ONLY
double Concurrency::precise_math::lgamma ( double  _X,
_Out_ int _Sign 
)
inline

Computes the natural logarithm of the absolute value of gamma of the argument

Parameters
_XFloating-point value
_SignReturns the sign
Returns
Returns the natural logarithm of the absolute value of gamma of the argument
2893  {
2894  return __dp_math_lgamma(_X, _Sign);
2895  }
double __dp_math_lgamma(double, _Out_ int *) __GPU_ONLY
float Concurrency::precise_math::lgammaf ( float  _X,
_Out_ int _Sign 
)
inline

Computes the natural logarithm of the absolute value of gamma of the argument

Parameters
_XFloating-point value
_SignReturns the sign
Returns
Returns the natural logarithm of the absolute value of gamma of the argument
2859  {
2860  return __dp_math_lgammaf(_X, _Sign);
2861  }
float __dp_math_lgammaf(float, _Out_ int *) __GPU_ONLY
float Concurrency::precise_math::log ( float  _X)
inline

Calculates the base-e logarithm of the argument

Parameters
_XFloating-point value
Returns
Returns the base-e logarithm of the argument
2921  {
2922  return __dp_math_logf(_X);
2923  }
float __dp_math_logf(float) __GPU_ONLY
double Concurrency::precise_math::log ( double  _X)
inline

Calculates the base-e logarithm of the argument

Parameters
_XFloating-point value
Returns
Returns the base-e logarithm of the argument
2935  {
2936  return __dp_math_log(_X);
2937  }
double __dp_math_log(double) __GPU_ONLY
float Concurrency::precise_math::log10 ( float  _X)
inline

Calculates the base-10 logarithm of the argument

Parameters
_XFloating-point value
Returns
Returns the base-10 logarithm of the argument
2963  {
2964  return __dp_math_log10f(_X);
2965  }
float __dp_math_log10f(float) __GPU_ONLY
double Concurrency::precise_math::log10 ( double  _X)
inline

Calculates the base-10 logarithm of the argument

Parameters
_XFloating-point value
Returns
Returns the base-10 logarithm of the argument
2977  {
2978  return __dp_math_log10(_X);
2979  }
double __dp_math_log10(double) __GPU_ONLY
float Concurrency::precise_math::log10f ( float  _X)
inline

Calculates the base-10 logarithm of the argument

Parameters
_XFloating-point value
Returns
Returns the base-10 logarithm of the argument
2949  {
2950  return __dp_math_log10f(_X);
2951  }
float __dp_math_log10f(float) __GPU_ONLY
float Concurrency::precise_math::log1p ( float  _X)
inline

Calculates the base-e logarithm of 1 plus the argument

Parameters
_XFloating-point value
Returns
Returns the base-e logarithm of 1 plus the argument
3047  {
3048  return __dp_math_log1pf(_X);
3049  }
float __dp_math_log1pf(float) __GPU_ONLY
double Concurrency::precise_math::log1p ( double  _X)
inline

Calculates the base-e logarithm of 1 plus the argument

Parameters
_XFloating-point value
Returns
Returns the base-e logarithm of 1 plus the argument
3061  {
3062  return __dp_math_log1p(_X);
3063  }
double __dp_math_log1p(double) __GPU_ONLY
float Concurrency::precise_math::log1pf ( float  _X)
inline

Calculates the base-e logarithm of 1 plus the argument

Parameters
_XFloating-point value
Returns
Returns the base-e logarithm of 1 plus the argument
3033  {
3034  return __dp_math_log1pf(_X);
3035  }
float __dp_math_log1pf(float) __GPU_ONLY
float Concurrency::precise_math::log2 ( float  _X)
inline

Calculates the base-2 logarithm of the argument

Parameters
_XFloating-point value
Returns
Returns the base-10 logarithm of the argument
3005  {
3006  return __dp_math_log2f(_X);
3007  }
float __dp_math_log2f(float) __GPU_ONLY
double Concurrency::precise_math::log2 ( double  _X)
inline

Calculates the base-2 logarithm of the argument

Parameters
_XFloating-point value
Returns
Returns the base-10 logarithm of the argument
3019  {
3020  return __dp_math_log2(_X);
3021  }
double __dp_math_log2(double) __GPU_ONLY
float Concurrency::precise_math::log2f ( float  _X)
inline

Calculates the base-2 logarithm of the argument

Parameters
_XFloating-point value
Returns
Returns the base-10 logarithm of the argument
2991  {
2992  return __dp_math_log2f(_X);
2993  }
float __dp_math_log2f(float) __GPU_ONLY
float Concurrency::precise_math::logb ( float  _X)
inline

Extracts the exponent of _X, as a signed integer value in floating-point format

Parameters
_XFloating-point value
Returns
Returns the signed exponent of _X
3089  {
3090  return __dp_math_logbf(_X);
3091  }
float __dp_math_logbf(float) __GPU_ONLY
double Concurrency::precise_math::logb ( double  _X)
inline

Extracts the exponent of _X, as a signed integer value in floating-point format

Parameters
_XFloating-point value
Returns
Returns the signed exponent of _X
3103  {
3104  return __dp_math_logb(_X);
3105  }
double __dp_math_logb(double) __GPU_ONLY
float Concurrency::precise_math::logbf ( float  _X)
inline

Extracts the exponent of _X, as a signed integer value in floating-point format

Parameters
_XFloating-point value
Returns
Returns the signed exponent of _X
3075  {
3076  return __dp_math_logbf(_X);
3077  }
float __dp_math_logbf(float) __GPU_ONLY
float Concurrency::precise_math::logf ( float  _X)
inline

Calculates the base-e logarithm of the argument

Parameters
_XFloating-point value
Returns
Returns the base-e logarithm of the argument
2907  {
2908  return __dp_math_logf(_X);
2909  }
float __dp_math_logf(float) __GPU_ONLY
float Concurrency::precise_math::modf ( float  _X,
_Out_ float *  _Iptr 
)
inline

Splits _X into fractional and integer parts.

Parameters
_XFloating-point value
_IptrReturns the integer portion of _X in floating-point value
Returns
Returns the signed fractional portion of _X
3137  {
3138  return __dp_math_modff(_X, _Iptr);
3139  }
float __dp_math_modff(float, _Out_ float *) __GPU_ONLY
double Concurrency::precise_math::modf ( double  _X,
_Out_ double *  _Iptr 
)
inline

Splits _X into fractional and integer parts.

Parameters
_XFloating-point value
_IptrReturns the integer portion of _X in floating-point value
Returns
Returns the signed fractional portion of _X
3154  {
3155  return __dp_math_modf(_X, _Iptr);
3156  }
double __dp_math_modf(double, _Out_ double *) __GPU_ONLY
float Concurrency::precise_math::modff ( float  _X,
_Out_ float *  _Iptr 
)
inline

Splits _X into fractional and integer parts.

Parameters
_XFloating-point value
_IptrReturns the integer portion of _X in floating-point value
Returns
Returns the signed fractional portion of _X
3120  {
3121  return __dp_math_modff(_X, _Iptr);
3122  }
float __dp_math_modff(float, _Out_ float *) __GPU_ONLY
double Concurrency::precise_math::nan ( int  _X)
inline

Returns a quiet NaN

Parameters
_XInteger value
Returns
Returns a quiet NaN, if available, with the content indicated in _X
3182  {
3183  return __dp_math_nan(_X);
3184  }
double __dp_math_nan(int) __GPU_ONLY
float Concurrency::precise_math::nanf ( int  _X)
inline

Returns a quiet NaN

Parameters
_XInteger value
Returns
Returns a quiet NaN, if available, with the content indicated in _X
3168  {
3169  return __dp_math_nanf(_X);
3170  }
float __dp_math_nanf(int) __GPU_ONLY
float Concurrency::precise_math::nearbyint ( float  _X)
inline

Rounds the argument to an integer value in floating-point format, using the current rounding direction.

Parameters
_XFloating-point value
Returns
Returns the rounded integer value.
3213  {
3214  return __dp_math_nearbyintf(_X);
3215  }
float __dp_math_nearbyintf(float) __GPU_ONLY
double Concurrency::precise_math::nearbyint ( double  _X)
inline

Rounds the argument to an integer value in floating-point format, using the current rounding direction.

Parameters
_XFloating-point value
Returns
Returns the rounded integer value.
3228  {
3229  return __dp_math_nearbyint(_X);
3230  }
double __dp_math_nearbyint(double) __GPU_ONLY
float Concurrency::precise_math::nearbyintf ( float  _X)
inline

Rounds the argument to an integer value in floating-point format, using the current rounding direction.

Parameters
_XFloating-point value
Returns
Returns the rounded integer value.
3198  {
3199  return __dp_math_nearbyintf(_X);
3200  }
float __dp_math_nearbyintf(float) __GPU_ONLY
float Concurrency::precise_math::nextafter ( float  _X,
float  _Y 
)
inline

Determine the next representable value, in the type of the function, after _X in the direction of _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returnsthe the next representable value, in the type of the function, after _X in the direction of _Y
3267  {
3268  return __dp_math_nextafterf(_X, _Y);
3269  }
float __dp_math_nextafterf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
double Concurrency::precise_math::nextafter ( double  _X,
double  _Y 
)
inline

Determine the next representable value, in the type of the function, after _X in the direction of _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returnsthe the next representable value, in the type of the function, after _X in the direction of _Y
3286  {
3287  return __dp_math_nextafter(_X, _Y);
3288  }
_In_ double _Y
Definition: math.h:999
double __dp_math_nextafter(double, double) __GPU_ONLY
float Concurrency::precise_math::nextafterf ( float  _X,
float  _Y 
)
inline

Determine the next representable value, in the type of the function, after _X in the direction of _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returnsthe the next representable value, in the type of the function, after _X in the direction of _Y
3248  {
3249  return __dp_math_nextafterf(_X, _Y);
3250  }
float __dp_math_nextafterf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::phi ( float  _X)
inline

Returns the cumulative distribution function of the argument

Parameters
_XFloating-point value
Returns
Returns the cumulative distribution function of the argument
3314  {
3315  return __dp_math_phif(_X);
3316  }
float __dp_math_phif(float) __GPU_ONLY
double Concurrency::precise_math::phi ( double  _X)
inline

Returns the cumulative distribution function of the argument

Parameters
_XFloating-point value
Returns
Returns the cumulative distribution function of the argument
3328  {
3329  return __dp_math_phi(_X);
3330  }
double __dp_math_phi(double) __GPU_ONLY
float Concurrency::precise_math::phif ( float  _X)
inline

Returns the cumulative distribution function of the argument

Parameters
_XFloating-point value
Returns
Returns the cumulative distribution function of the argument
3300  {
3301  return __dp_math_phif(_X);
3302  }
float __dp_math_phif(float) __GPU_ONLY
float Concurrency::precise_math::pow ( float  _X,
float  _Y 
)
inline

Calculates _X raised to the power of _Y

Parameters
_XFloating-point value, base
_YFloating-point value, exponent
Returns
Returns the value of _X raised to the power of _Y
3362  {
3363  return __dp_math_powf(_X, _Y);
3364  }
_In_ double _Y
Definition: math.h:999
float __dp_math_powf(float, float) __GPU_ONLY
double Concurrency::precise_math::pow ( double  _X,
double  _Y 
)
inline

Calculates _X raised to the power of _Y

Parameters
_XFloating-point value, base
_YFloating-point value, exponent
Returns
Returns the value of _X raised to the power of _Y
3379  {
3380  return __dp_math_pow(_X, _Y);
3381  }
_In_ double _Y
Definition: math.h:999
double __dp_math_pow(double, double) __GPU_ONLY
float Concurrency::precise_math::powf ( float  _X,
float  _Y 
)
inline

Calculates _X raised to the power of _Y

Parameters
_XFloating-point value, base
_YFloating-point value, exponent
Returns
Returns the value of _X raised to the power of _Y
3345  {
3346  return __dp_math_powf(_X, _Y);
3347  }
_In_ double _Y
Definition: math.h:999
float __dp_math_powf(float, float) __GPU_ONLY
float Concurrency::precise_math::probit ( float  _X)
inline

Returns the inverse cumulative distribution function of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse cumulative distribution function of the argument
3408  {
3409  return __dp_math_probitf(_X);
3410  }
float __dp_math_probitf(float) __GPU_ONLY
double Concurrency::precise_math::probit ( double  _X)
inline

Returns the inverse cumulative distribution function of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse cumulative distribution function of the argument
3422  {
3423  return __dp_math_probit(_X);
3424  }
double __dp_math_probit(double) __GPU_ONLY
float Concurrency::precise_math::probitf ( float  _X)
inline

Returns the inverse cumulative distribution function of the argument

Parameters
_XFloating-point value
Returns
Returns the inverse cumulative distribution function of the argument
3394  {
3395  return __dp_math_probitf(_X);
3396  }
float __dp_math_probitf(float) __GPU_ONLY
float Concurrency::precise_math::rcbrt ( float  _X)
inline

Returns the reciprocal of the cube root of the argument

Parameters
_XFloating-point value
Returns
Returns the reciprocal of the cube root of the argument
3450  {
3451  return __dp_math_rcbrtf(_X);
3452  }
float __dp_math_rcbrtf(float) __GPU_ONLY
double Concurrency::precise_math::rcbrt ( double  _X)
inline

Returns the reciprocal of the cube root of the argument

Parameters
_XFloating-point value
Returns
Returns the reciprocal of the cube root of the argument
3464  {
3465  return __dp_math_rcbrt(_X);
3466  }
double __dp_math_rcbrt(double) __GPU_ONLY
float Concurrency::precise_math::rcbrtf ( float  _X)
inline

Returns the reciprocal of the cube root of the argument

Parameters
_XFloating-point value
Returns
Returns the reciprocal of the cube root of the argument
3436  {
3437  return __dp_math_rcbrtf(_X);
3438  }
float __dp_math_rcbrtf(float) __GPU_ONLY
float Concurrency::precise_math::remainder ( float  _X,
float  _Y 
)
inline

Computes the remainder: _X REM _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns _X REM _Y
3498  {
3499  return __dp_math_remainderf(_X, _Y);
3500  }
_In_ double _Y
Definition: math.h:999
float __dp_math_remainderf(float, float) __GPU_ONLY
double Concurrency::precise_math::remainder ( double  _X,
double  _Y 
)
inline

Computes the remainder: _X REM _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns _X REM _Y
3515  {
3516  return __dp_math_remainder(_X, _Y);
3517  }
double __dp_math_remainder(double, double) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::remainderf ( float  _X,
float  _Y 
)
inline

Computes the remainder: _X REM _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns _X REM _Y
3481  {
3482  return __dp_math_remainderf(_X, _Y);
3483  }
_In_ double _Y
Definition: math.h:999
float __dp_math_remainderf(float, float) __GPU_ONLY
float Concurrency::precise_math::remquo ( float  _X,
float  _Y,
_Out_ int _Quo 
)
inline

Computes the same remainder as _X REM _Y. Also calculates the lower 24 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.

Parameters
_XFloating-point value
_YFloating-point value
_QuoPointer to an integer value
Returns
Returns the remainder
3561  {
3562  return __dp_math_remquof(_X, _Y, _Quo);
3563  }
float __dp_math_remquof(float, float, _Out_ int *) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
double Concurrency::precise_math::remquo ( double  _X,
double  _Y,
_Out_ int _Quo 
)
inline

Computes the same remainder as _X REM _Y. Also calculates the lower 31 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.

Parameters
_XFloating-point value
_YFloating-point value
_QuoPointer to an integer value
Returns
Returns the remainder
3584  {
3585  return __dp_math_remquo(_X, _Y, _Quo);
3586  }
double __dp_math_remquo(double, double, _Out_ int *) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::remquof ( float  _X,
float  _Y,
_Out_ int _Quo 
)
inline

Computes the same remainder as _X REM _Y. Also calculates the lower 24 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.

Parameters
_XFloating-point value
_YFloating-point value
_QuoPointer to an integer value
Returns
Returns the remainder
3538  {
3539  return __dp_math_remquof(_X, _Y, _Quo);
3540  }
float __dp_math_remquof(float, float, _Out_ int *) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::round ( float  _X)
inline

Rounds _X to the nearest integer

Parameters
_XFloating-point value
Returns
Returns the nearest integer of _X
3612  {
3613  return __dp_math_roundf(_X);
3614  }
float __dp_math_roundf(float) __GPU_ONLY
double Concurrency::precise_math::round ( double  _X)
inline

Rounds _X to the nearest integer

Parameters
_XFloating-point value
Returns
Returns the nearest integer of _X
3626  {
3627  return __dp_math_round(_X);
3628  }
double __dp_math_round(double) __GPU_ONLY
float Concurrency::precise_math::roundf ( float  _X)
inline

Rounds _X to the nearest integer

Parameters
_XFloating-point value
Returns
Returns the nearest integer of _X
3598  {
3599  return __dp_math_roundf(_X);
3600  }
float __dp_math_roundf(float) __GPU_ONLY
float Concurrency::precise_math::rsqrt ( float  _X)
inline

Returns the reciprocal of the square root of the argument

Parameters
_XFloating-point value
Returns
Returns the reciprocal of the square root of the argument
3654  {
3655  return __dp_math_rsqrtf(_X);
3656  }
float __dp_math_rsqrtf(float) __GPU_ONLY
double Concurrency::precise_math::rsqrt ( double  _X)
inline

Returns the reciprocal of the square root of the argument

Parameters
_XFloating-point value
Returns
Returns the reciprocal of the square root of the argument
3668  {
3669  return __dp_math_rsqrt(_X);
3670  }
double __dp_math_rsqrt(double) __GPU_ONLY
float Concurrency::precise_math::rsqrtf ( float  _X)
inline

Returns the reciprocal of the square root of the argument

Parameters
_XFloating-point value
Returns
Returns the reciprocal of the square root of the argument
3640  {
3641  return __dp_math_rsqrtf(_X);
3642  }
float __dp_math_rsqrtf(float) __GPU_ONLY
float Concurrency::precise_math::scalb ( float  _X,
float  _Y 
)
inline

Multiplies _X by FLT_RADIX to the power _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns _X * (FLT_RADIX ^ _Y)
3702  {
3703  return __dp_math_scalbf(_X, _Y);
3704  }
float __dp_math_scalbf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
double Concurrency::precise_math::scalb ( double  _X,
double  _Y 
)
inline

Multiplies _X by FLT_RADIX to the power _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns _X * (FLT_RADIX ^ _Y)
3719  {
3720  return __dp_math_scalb(_X, _Y);
3721  }
_In_ double _Y
Definition: math.h:999
double __dp_math_scalb(double, double) __GPU_ONLY
float Concurrency::precise_math::scalbf ( float  _X,
float  _Y 
)
inline

Multiplies _X by FLT_RADIX to the power _Y

Parameters
_XFloating-point value
_YFloating-point value
Returns
Returns _X * (FLT_RADIX ^ _Y)
3685  {
3686  return __dp_math_scalbf(_X, _Y);
3687  }
float __dp_math_scalbf(float, float) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::scalbn ( float  _X,
int  _Y 
)
inline

Multiplies _X by FLT_RADIX to the power _Y

Parameters
_XFloating-point value
_YInteger value
Returns
Returns _X * (FLT_RADIX ^ _Y)
3753  {
3754  return __dp_math_scalbnf(_X, _Y);
3755  }
_In_ double _Y
Definition: math.h:999
float __dp_math_scalbnf(float, int) __GPU_ONLY
double Concurrency::precise_math::scalbn ( double  _X,
int  _Y 
)
inline

Multiplies _X by FLT_RADIX to the power _Y

Parameters
_XFloating-point value
_YInteger value
Returns
Returns _X * (FLT_RADIX ^ _Y)
3770  {
3771  return __dp_math_scalbn(_X, _Y);
3772  }
double __dp_math_scalbn(double, int) __GPU_ONLY
_In_ double _Y
Definition: math.h:999
float Concurrency::precise_math::scalbnf ( float  _X,
int  _Y 
)
inline

Multiplies _X by FLT_RADIX to the power _Y

Parameters
_XFloating-point value
_YInteger value
Returns
Returns _X * (FLT_RADIX ^ _Y)
3736  {
3737  return __dp_math_scalbnf(_X, _Y);
3738  }
_In_ double _Y
Definition: math.h:999
float __dp_math_scalbnf(float, int) __GPU_ONLY
int Concurrency::precise_math::signbit ( float  _X)
inline

Determines whether the sign of _X is negative

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the sign of _X is negative
3800  {
3801  return __dp_math_signbitf(_X);
3802  }
int __dp_math_signbitf(float) __GPU_ONLY
int Concurrency::precise_math::signbit ( double  _X)
inline

Determines whether the sign of _X is negative

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the sign of _X is negative
3815  {
3816  return __dp_math_signbit(_X);
3817  }
int __dp_math_signbit(double) __GPU_ONLY
int Concurrency::precise_math::signbitf ( float  _X)
inline

Determines whether the sign of _X is negative

Parameters
_XFloating-point value
Returns
Returns a nonzero value if and only if the sign of _X is negative
3785  {
3786  return __dp_math_signbitf(_X);
3787  }
int __dp_math_signbitf(float) __GPU_ONLY
float Concurrency::precise_math::sin ( float  _X)
inline

Calculates the sine value of the argument

Parameters
_XFloating-point value
Returns
Returns the sine value of the argument
3843  {
3844  return __dp_math_sinf(_X);
3845  }
float __dp_math_sinf(float) __GPU_ONLY
double Concurrency::precise_math::sin ( double  _X)
inline

Calculates the sine value of the argument

Parameters
_XFloating-point value
Returns
Returns the sine value of the argument
3857  {
3858  return __dp_math_sin(_X);
3859  }
double __dp_math_sin(double) __GPU_ONLY
void Concurrency::precise_math::sincos ( float  _X,
_Out_ float *  _S,
_Out_ float *  _C 
)
inline

Calculates sine and cosine value of _X

Parameters
_XFloating-point value
_SReturns the sine value of _X
_CReturns the cosine value of _X
3891  {
3892  *_C = __dp_math_sincosf(_X, _S);
3893  }
float __dp_math_sincosf(float, _Out_ float *) __GPU_ONLY
_In_ wchar_t _C
Definition: wchar.h:1295
void Concurrency::precise_math::sincos ( double  _X,
_Out_ double *  _S,
_Out_ double *  _C 
)
inline

Calculates sine and cosine value of _X

Parameters
_XFloating-point value
_SReturns the sine value of _X
_CReturns the cosine value of _X
3908  {
3909  *_C = __dp_math_sincos(_X, _S);
3910  }
_In_ wchar_t _C
Definition: wchar.h:1295
double __dp_math_sincos(double, _Out_ double *) __GPU_ONLY
void Concurrency::precise_math::sincosf ( float  _X,
_Out_ float *  _S,
_Out_ float *  _C 
)
inline

Calculates sine and cosine value of _X

Parameters
_XFloating-point value
_SReturns the sine value of _X
_CReturns the cosine value of _X
3874  {
3875  *_C = __dp_math_sincosf(_X, _S);
3876  }
float __dp_math_sincosf(float, _Out_ float *) __GPU_ONLY
_In_ wchar_t _C
Definition: wchar.h:1295
float Concurrency::precise_math::sinf ( float  _X)
inline

Calculates the sine value of the argument

Parameters
_XFloating-point value
Returns
Returns the sine value of the argument
3829  {
3830  return __dp_math_sinf(_X);
3831  }
float __dp_math_sinf(float) __GPU_ONLY
float Concurrency::precise_math::sinh ( float  _X)
inline

Calculates the hyperbolic sine value of the argument

Parameters
_XFloating-point value
Returns
Returns the hyperbolic sine value of the argument
3936  {
3937  return __dp_math_sinhf(_X);
3938  }
float __dp_math_sinhf(float) __GPU_ONLY
double Concurrency::precise_math::sinh ( double  _X)
inline

Calculates the hyperbolic sine value of the argument

Parameters
_XFloating-point value
Returns
Returns the hyperbolic sine value of the argument
3950  {
3951  return __dp_math_sinh(_X);
3952  }
double __dp_math_sinh(double) __GPU_ONLY
float Concurrency::precise_math::sinhf ( float  _X)
inline

Calculates the hyperbolic sine value of the argument

Parameters
_XFloating-point value
Returns
Returns the hyperbolic sine value of the argument
3922  {
3923  return __dp_math_sinhf(_X);
3924  }
float __dp_math_sinhf(float) __GPU_ONLY
float Concurrency::precise_math::sinpi ( float  _X)
inline

Calculates the sine value of pi * _X

Parameters
_XFloating-point value
Returns
Returns the sine value of pi * _X
3978  {
3979  return __dp_math_sinpif(_X);
3980  }
float __dp_math_sinpif(float) __GPU_ONLY
double Concurrency::precise_math::sinpi ( double  _X)
inline

Calculates the sine value of pi * _X

Parameters
_XFloating-point value
Returns
Returns the sine value of pi * _X
3992  {
3993  return __dp_math_sinpi(_X);
3994  }
double __dp_math_sinpi(double) __GPU_ONLY
float Concurrency::precise_math::sinpif ( float  _X)
inline

Calculates the sine value of pi * _X

Parameters
_XFloating-point value
Returns
Returns the sine value of pi * _X
3964  {
3965  return __dp_math_sinpif(_X);
3966  }
float __dp_math_sinpif(float) __GPU_ONLY
float Concurrency::precise_math::sqrt ( float  _X)
inline

Calculates the squre root of the argument

Parameters
_XFloating-point value
Returns
Returns the squre root of the argument
4020  {
4021  return __dp_math_sqrtf(_X);
4022  }
float __dp_math_sqrtf(float) __GPU_ONLY
double Concurrency::precise_math::sqrt ( double  _X)
inline

Calculates the squre root of the argument

Parameters
_XFloating-point value
Returns
Returns the squre root of the argument
4034  {
4035  return __dp_math_sqrt(_X);
4036  }
double __dp_math_sqrt(double) __GPU_ONLY
float Concurrency::precise_math::sqrtf ( float  _X)
inline

Calculates the squre root of the argument

Parameters
_XFloating-point value
Returns
Returns the squre root of the argument
4006  {
4007  return __dp_math_sqrtf(_X);
4008  }
float __dp_math_sqrtf(float) __GPU_ONLY
float Concurrency::precise_math::tan ( float  _X)
inline

Calculates the tangent value of the argument

Parameters
_XFloating-point value
Returns
Returns the tangent value of the argument
4104  {
4105  return __dp_math_tanf(_X);
4106  }
float __dp_math_tanf(float) __GPU_ONLY
double Concurrency::precise_math::tan ( double  _X)
inline

Calculates the tangent value of the argument

Parameters
_XFloating-point value
Returns
Returns the tangent value of the argument
4118  {
4119  return __dp_math_tan(_X);
4120  }
double __dp_math_tan(double) __GPU_ONLY
float Concurrency::precise_math::tanf ( float  _X)
inline

Calculates the tangent value of the argument

Parameters
_XFloating-point value
Returns
Returns the tangent value of the argument
4090  {
4091  return __dp_math_tanf(_X);
4092  }
float __dp_math_tanf(float) __GPU_ONLY
float Concurrency::precise_math::tanh ( float  _X)
inline

Calculates the hyperbolic tangent value of the argument

Parameters
_XFloating-point value
Returns
Returns the hyperbolic tangent value of the argument
4146  {
4147  return __dp_math_tanhf(_X);
4148  }
float __dp_math_tanhf(float) __GPU_ONLY
double Concurrency::precise_math::tanh ( double  _X)
inline

Calculates the hyperbolic tangent value of the argument

Parameters
_XFloating-point value
Returns
Returns the hyperbolic tangent value of the argument
4160  {
4161  return __dp_math_tanh(_X);
4162  }
double __dp_math_tanh(double) __GPU_ONLY
float Concurrency::precise_math::tanhf ( float  _X)
inline

Calculates the hyperbolic tangent value of the argument

Parameters
_XFloating-point value
Returns
Returns the hyperbolic tangent value of the argument
4132  {
4133  return __dp_math_tanhf(_X);
4134  }
float __dp_math_tanhf(float) __GPU_ONLY
float Concurrency::precise_math::tanpi ( float  _X)
inline

Calculates the tangent value of pi * _X

Parameters
_XFloating-point value
Returns
Returns the tangent value of pi * _X
4188  {
4189  return __dp_math_tanpif(_X);
4190  }
float __dp_math_tanpif(float) __GPU_ONLY
double Concurrency::precise_math::tanpi ( double  _X)
inline

Calculates the tangent value of pi * _X

Parameters
_XFloating-point value
Returns
Returns the tangent value of pi * _X
4202  {
4203  return __dp_math_tanpi(_X);
4204  }
double __dp_math_tanpi(double) __GPU_ONLY
float Concurrency::precise_math::tanpif ( float  _X)
inline

Calculates the tangent value of pi * _X

Parameters
_XFloating-point value
Returns
Returns the tangent value of pi * _X
4174  {
4175  return __dp_math_tanpif(_X);
4176  }
float __dp_math_tanpif(float) __GPU_ONLY
float Concurrency::precise_math::tgamma ( float  _X)
inline

Computes the gamma function of _X

Parameters
_XFloating-point value
Returns
Returns the result of gamma function of _X
4062  {
4063  return __dp_math_tgammaf(_X);
4064  }
float __dp_math_tgammaf(float) __GPU_ONLY
double Concurrency::precise_math::tgamma ( double  _X)
inline

Computes the gamma function of _X

Parameters
_XFloating-point value
Returns
Returns the result of gamma function of _X
4076  {
4077  return __dp_math_tgamma(_X);
4078  }
double __dp_math_tgamma(double) __GPU_ONLY
float Concurrency::precise_math::tgammaf ( float  _X)
inline

Computes the gamma function of _X

Parameters
_XFloating-point value
Returns
Returns the result of gamma function of _X
4048  {
4049  return __dp_math_tgammaf(_X);
4050  }
float __dp_math_tgammaf(float) __GPU_ONLY
float Concurrency::precise_math::trunc ( float  _X)
inline

Truncates the argument to the integer component

Parameters
_XFloating-point value
Returns
Returns the integer component of the argument
4230  {
4231  return __dp_math_truncf(_X);
4232  }
float __dp_math_truncf(float) __GPU_ONLY
double Concurrency::precise_math::trunc ( double  _X)
inline

Truncates the argument to the integer component

Parameters
_XFloating-point value
Returns
Returns the integer component of the argument
4244  {
4245  return __dp_math_trunc(_X);
4246  }
double __dp_math_trunc(double) __GPU_ONLY
float Concurrency::precise_math::truncf ( float  _X)
inline

Truncates the argument to the integer component

Parameters
_XFloating-point value
Returns
Returns the integer component of the argument
4216  {
4217  return __dp_math_truncf(_X);
4218  }
float __dp_math_truncf(float) __GPU_ONLY