653 *
reinterpret_cast<unsigned int*
>(&_M) = *reinterpret_cast<unsigned int*>(&_M) | (*
reinterpret_cast<unsigned int*
>(&_X) & 0x80000000);
1256 namespace precise_math
float __dp_d3d_sinf(float) __GPU_ONLY
#define _Out_
Definition: sal.h:351
double __dp_math_atan(double) __GPU_ONLY
float atan(float _X) __GPU_ONLY
Calculates the arctangent of the argument
Definition: amp_math.h:325
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 ...
Definition: amp_math.h:3247
float acosh(float _X) __GPU_ONLY
Calculates the inverse hyperbolic cosine of the argument
Definition: amp_math.h:1323
float __dp_d3d_maxf(float, float) __GPU_ONLY
double log(double _X) __GPU_ONLY
Calculates the base-e logarithm of the argument
Definition: amp_math.h:2934
float __dp_math_scalbf(float, float) __GPU_ONLY
_CRTIMP double __cdecl fdim(_In_ double _X, _In_ double _Y)
_CRTIMP double __cdecl scalbn(_In_ double _X, _In_ int _Y)
float coshf(float _X) __GPU_ONLY
Calculates the hyperbolic cosine value of the argument
Definition: amp_math.h:429
double sqrt(double _X) __GPU_ONLY
Calculates the squre root of the argument
Definition: amp_math.h:4033
float atanhf(float _X) __GPU_ONLY
Calculates the inverse hyperbolic tangent of the argument
Definition: amp_math.h:1530
double __dp_math_tan(double) __GPU_ONLY
_CRTIMP float __cdecl fmaf(_In_ float _X, _In_ float _Y, _In_ float _Z)
float erff(float _X) __GPU_ONLY
Computes the error function of _X
Definition: amp_math.h:1833
_CRTIMP double __cdecl copysign(_In_ double _X, _In_ double _Y)
double __dp_math_acosh(double) __GPU_ONLY
float __dp_math_erff(float) __GPU_ONLY
int __dp_math_fpclassify(double) __GPU_ONLY
float fminf(float _X, float _Y) __GPU_ONLY
Determine the minimum numeric value of the arguments
Definition: amp_math.h:2420
float log2(float _X) __GPU_ONLY
Calculates the base-2 logarithm of the argument
Definition: amp_math.h:3004
__inline float __CRTDECL atanf(_In_ float _X)
Definition: math.h:652
float rsqrt(float _X) __GPU_ONLY
Returns the reciprocal of the square root of the argument
Definition: amp_math.h:954
float fmaf(float _X, float _Y, float _Z) __GPU_ONLY
Compute (_X * _Y) + _Z, rounded as one ternary operation
Definition: amp_math.h:2312
double asin(double _X) __GPU_ONLY
Calculates the arcsine of the argument
Definition: amp_math.h:1380
double tan(double _X) __GPU_ONLY
Calculates the tangent value of the argument
Definition: amp_math.h:4117
float __dp_d3d_floorf(float) __GPU_ONLY
float remainderf(float _X, float _Y) __GPU_ONLY
Computes the remainder: _X REM _Y
Definition: amp_math.h:3480
_CRTIMP float __cdecl exp2f(_In_ float _X)
__inline float __CRTDECL cosf(_In_ float _X)
Definition: math.h:662
__inline float __CRTDECL atan2f(_In_ float _Y, _In_ float _X)
Definition: math.h:647
__inline float __CRTDECL tanf(_In_ float _X)
Definition: math.h:778
float __dp_d3d_tanhf(float) __GPU_ONLY
float __dp_math_nanf(int) __GPU_ONLY
int __dp_d3d_isfinitef(float) __GPU_ONLY
__inline float __CRTDECL tanhf(_In_ float _X)
Definition: math.h:783
int __dp_math_isnan(double) __GPU_ONLY
_CRTIMP float __cdecl erfcf(_In_ float _X)
float atanh(float _X) __GPU_ONLY
Calculates the inverse hyperbolic tangent of the argument
Definition: amp_math.h:1544
float lgamma(float _X, _Out_ int *_Sign) __GPU_ONLY
Computes the natural logarithm of the absolute value of gamma of the argument
Definition: amp_math.h:2875
_CRTIMP double __cdecl logb(_In_ double _X)
float logb(float _X) __GPU_ONLY
Extracts the exponent of _X, as a signed integer value in floating-point format
Definition: amp_math.h:3088
int signbitf(float _X) __GPU_ONLY
Returns the sign of the argument
Definition: amp_math.h:968
double __dp_math_floor(double) __GPU_ONLY
float __dp_math_asinf(float) __GPU_ONLY
float fmod(float _X, float _Y) __GPU_ONLY
Calculates the floating-point remainder of _X/_Y
Definition: amp_math.h:629
__inline float __CRTDECL sqrtf(_In_ float _X)
Definition: math.h:773
float __dp_math_tanf(float) __GPU_ONLY
int ilogbf(float _X) __GPU_ONLY
Extract the exponent of _X as a signed int value
Definition: amp_math.h:2650
__inline float __CRTDECL asinf(_In_ float _X)
Definition: math.h:642
float __dp_math_sinpif(float) __GPU_ONLY
float __dp_math_coshf(float) __GPU_ONLY
double __cdecl fmod(_In_ double _X, _In_ double _Y)
float phif(float _X) __GPU_ONLY
Returns the cumulative distribution function of the argument
Definition: amp_math.h:3299
double __dp_math_fmax(double, double) __GPU_ONLY
int isinf(float _X) __GPU_ONLY
Determines whether the argument is an infinity
Definition: amp_math.h:697
_CRTIMP float __cdecl remainderf(_In_ float _X, _In_ float _Y)
float __dp_math_exp2f(float) __GPU_ONLY
float cosf(float _X) __GPU_ONLY
Calculates the cosine of the argument
Definition: amp_math.h:401
float tgammaf(float _X) __GPU_ONLY
Computes the gamma function of _X
Definition: amp_math.h:4047
float __dp_math_atan2f(float, float) __GPU_ONLY
float __dp_d3d_cosf(float) __GPU_ONLY
float modf(float _X, _Out_ float *_Iptr) __GPU_ONLY
Splits _X into fractional and integer parts.
Definition: amp_math.h:3136
float sqrt(float _X) __GPU_ONLY
Calculates the squre root of the argument
Definition: amp_math.h:1100
_CRTIMP double __cdecl modf(_In_ double _X, _Out_ double *_Y)
__inline float __CRTDECL hypotf(_In_ float _X, _In_ float _Y)
Definition: math.h:716
_CRTIMP float __cdecl tgammaf(_In_ float _X)
float atan2f(float _Y, float _X) __GPU_ONLY
Calculates the arctangent of _Y/_X
Definition: amp_math.h:342
_CRTIMP float __cdecl fminf(_In_ float _X, _In_ float _Y)
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
double __dp_math_logb(double) __GPU_ONLY
_CRT_JIT_INTRINSIC double __cdecl fabs(_In_ double _X)
_CRTIMP float __cdecl asinhf(_In_ float _X)
float __dp_math_remquof(float, float, _Out_ int *) __GPU_ONLY
float powf(float _X, float _Y) __GPU_ONLY
Calculates _X raised to the power of _Y
Definition: amp_math.h:881
float __dp_d3d_powf(float, float) __GPU_ONLY
float expf(float _X) __GPU_ONLY
Calculates the base-e exponential of the argument
Definition: amp_math.h:457
int __dp_d3d_isinff(float) __GPU_ONLY
float atan2(float _Y, float _X) __GPU_ONLY
Calculates the arctangent of _Y/_X
Definition: amp_math.h:359
float __dp_d3d_atan2f(float, float) __GPU_ONLY
void sincos(float _X, _Out_ float *_S, _Out_ float *_C) __GPU_ONLY
Calculates sine and cosine value of _X
Definition: amp_math.h:3890
float trunc(float _X) __GPU_ONLY
Truncates the argument to the integer component
Definition: amp_math.h:4229
float __dp_math_log2f(float) __GPU_ONLY
float __dp_math_frexpf(float, _Out_ int *) __GPU_ONLY
int __dp_math_isfinite(double) __GPU_ONLY
float sinh(float _X) __GPU_ONLY
Calculates the hyperbolic sine value of the argument
Definition: amp_math.h:3935
float roundf(float _X) __GPU_ONLY
Rounds _X to the nearest integer
Definition: amp_math.h:912
__inline float __CRTDECL coshf(_In_ float _X)
Definition: math.h:667
double acos(double _X) __GPU_ONLY
Calculates the arccosine of the argument
Definition: amp_math.h:1295
float sinpi(float _X) __GPU_ONLY
Calculates the sine value of pi * _X
Definition: amp_math.h:3977
float __dp_math_log1pf(float) __GPU_ONLY
_CRTIMP double __cdecl log1p(_In_ double _X)
double pow(double _X, double _Y) __GPU_ONLY
Calculates _X raised to the power of _Y
Definition: amp_math.h:3378
float trunc(float _X) __GPU_ONLY
Truncates the argument to the integer component
Definition: amp_math.h:1183
float fmax(float _X, float _Y) __GPU_ONLY
Determine the maximum numeric value of the arguments
Definition: amp_math.h:561
int __dp_math_ilogb(double) __GPU_ONLY
double __dp_math_modf(double, _Out_ double *) __GPU_ONLY
int __dp_math_signbit(double) __GPU_ONLY
double __dp_math_probit(double) __GPU_ONLY
_CRTIMP double __cdecl fmax(_In_ double _X, _In_ double _Y)
float cosf(float _X) __GPU_ONLY
Calculates the cosine of the argument
Definition: amp_math.h:1707
float exp(float _X) __GPU_ONLY
Calculates the base-e exponential of the argument
Definition: amp_math.h:2015
float cosh(float _X) __GPU_ONLY
Calculates the hyperbolic cosine value of the argument
Definition: amp_math.h:443
float exp2f(float _X) __GPU_ONLY
Calculates the base-2 exponential of the argument
Definition: amp_math.h:2043
float sin(float _X) __GPU_ONLY
Calculates the sine value of the argument
Definition: amp_math.h:1010
float tanh(float _X) __GPU_ONLY
Calculates the hyperbolic tangent value of the argument
Definition: amp_math.h:4145
float fmaxf(float _X, float _Y) __GPU_ONLY
Determine the maximum numeric value of the arguments
Definition: amp_math.h:2369
float acosf(float _X) __GPU_ONLY
Calculates the arccosine of the argument
Definition: amp_math.h:1267
double __dp_math_ceil(double) __GPU_ONLY
float __dp_math_cbrtf(float) __GPU_ONLY
float frexp(float _X, _Out_ int *_Exp) __GPU_ONLY
Gets the mantissa and exponent of _X
Definition: amp_math.h:2568
__inline float __CRTDECL fabsf(_In_ float _X)
Definition: math.h:685
_CRTIMP float __cdecl fdimf(_In_ float _X, _In_ float _Y)
_CRTIMP double __cdecl ldexp(_In_ double _X, _In_ int _Y)
float exp(float _X) __GPU_ONLY
Calculates the base-e exponential of the argument
Definition: amp_math.h:471
float __dp_math_atanhf(float) __GPU_ONLY
float __dp_d3d_ldexpf(float, float) __GPU_ONLY
float erfcf(float _X) __GPU_ONLY
Computes the complementary error function of _X
Definition: amp_math.h:1875
__inline float __CRTDECL floorf(_In_ float _X)
Definition: math.h:699
float fdim(float _X, float _Y) __GPU_ONLY
Determines the positive difference between the arguments
Definition: amp_math.h:2232
float cospi(float _X) __GPU_ONLY
Calculates the cosine value of pi * _X
Definition: amp_math.h:1805
_CRTIMP double __cdecl erf(_In_ double _X)
float expm1f(float _X) __GPU_ONLY
Calculates the base-e exponential of the argument, minus 1
Definition: amp_math.h:2127
float ldexp(float _X, int _Exp) __GPU_ONLY
Computes a real number from the mantissa and exponent
Definition: amp_math.h:2824
float __dp_math_nearbyintf(float) __GPU_ONLY
float __dp_math_asinhf(float) __GPU_ONLY
float tanh(float _X) __GPU_ONLY
Calculates the hyperbolic tangent value of the argument
Definition: amp_math.h:1155
double __dp_math_expm1(double) __GPU_ONLY
float ldexpf(float _X, int _Exp) __GPU_ONLY
Computes a real number from the mantissa and exponent
Definition: amp_math.h:2807
_CRTIMP float __cdecl roundf(_In_ float _X)
double __dp_math_rsqrt(double) __GPU_ONLY
float pow(float _X, float _Y) __GPU_ONLY
Calculates _X raised to the power of _Y
Definition: amp_math.h:3361
float fabs(float _X) __GPU_ONLY
Returns the absolute value of the argument
Definition: amp_math.h:2183
The Concurrency namespace provides classes and functions that provide access to the Concurrency Runti...
Definition: agents.h:42
double __dp_math_remquo(double, double, _Out_ int *) __GPU_ONLY
float __dp_math_sincosf(float, _Out_ float *) __GPU_ONLY
float hypot(float _X, float _Y) __GPU_ONLY
Computes the square root of the sum of the squares of _X and _Y
Definition: amp_math.h:2619
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 ...
Definition: amp_math.h:3537
_CRTIMP float __cdecl cbrtf(_In_ float _X)
_CRTIMP double __cdecl floor(_In_ double _X)
_CRTIMP float __cdecl fmaxf(_In_ float _X, _In_ float _Y)
double __dp_math_erfcinv(double) __GPU_ONLY
double __dp_math_acos(double) __GPU_ONLY
double __dp_math_erf(double) __GPU_ONLY
double log10(double _X) __GPU_ONLY
Calculates the base-10 logarithm of the argument
Definition: amp_math.h:2976
int signbitf(float _X) __GPU_ONLY
Determines whether the sign of _X is negative
Definition: amp_math.h:3784
float floorf(float _X) __GPU_ONLY
Calculates the floor of the argument
Definition: amp_math.h:2264
float round(float _X) __GPU_ONLY
Rounds _X to the nearest integer
Definition: amp_math.h:926
_CRTIMP double __cdecl round(_In_ double _X)
__inline float __CRTDECL log10f(_In_ float _X)
Definition: math.h:740
double __dp_math_hypot(double, double) __GPU_ONLY
float __dp_d3d_frexpf(float, _Out_ float *) __GPU_ONLY
float frexpf(float _X, _Out_ int *_Exp) __GPU_ONLY
Gets the mantissa and exponent of _X
Definition: amp_math.h:2551
float ceilf(float _X) __GPU_ONLY
Calculates the ceiling of the argument
Definition: amp_math.h:1614
_CRTIMP double __cdecl atanh(_In_ double _X)
__inline float __CRTDECL logf(_In_ float _X)
Definition: math.h:745
int fpclassify(float _X) __GPU_ONLY
Classifies the argument value as NaN, infinite, normal, subnormal, zero
Definition: amp_math.h:2520
float __dp_math_sinf(float) __GPU_ONLY
__inline float __CRTDECL frexpf(_In_ float _X, _Out_ int *_Y)
Definition: math.h:711
float fminf(float _X, float _Y) __GPU_ONLY
Determine the minimum numeric value of the arguments
Definition: amp_math.h:578
float log2(float _X) __GPU_ONLY
Calculates the base-2 logarithm of the argument
Definition: amp_math.h:830
float sinh(float _X) __GPU_ONLY
Calculates the hyperbolic sine value of the argument
Definition: amp_math.h:1072
float expf(float _X) __GPU_ONLY
Calculates the base-e exponential of the argument
Definition: amp_math.h:2001
float __dp_math_tanhf(float) __GPU_ONLY
float __dp_math_floorf(float) __GPU_ONLY
int __dp_math_isinff(float) __GPU_ONLY
__inline float __CRTDECL powf(_In_ float _X, _In_ float _Y)
Definition: math.h:758
float __dp_math_fminf(float, float) __GPU_ONLY
float scalb(float _X, float _Y) __GPU_ONLY
Multiplies _X by FLT_RADIX to the power _Y
Definition: amp_math.h:3701
float tgamma(float _X) __GPU_ONLY
Computes the gamma function of _X
Definition: amp_math.h:4061
float acos(float _X) __GPU_ONLY
Calculates the arccosine of the argument
Definition: amp_math.h:1281
double __dp_math_atanh(double) __GPU_ONLY
double sin(double _X) __GPU_ONLY
Calculates the sine value of the argument
Definition: amp_math.h:3856
double __dp_math_sinpi(double) __GPU_ONLY
float ceilf(float _X) __GPU_ONLY
Calculates the ceiling of the argument
Definition: amp_math.h:373
float __dp_math_acosf(float) __GPU_ONLY
float nanf(int _X) __GPU_ONLY
Returns a quiet NaN
Definition: amp_math.h:3167
float floorf(float _X) __GPU_ONLY
Calculates the floor of the argument
Definition: amp_math.h:513
__inline float __CRTDECL fmodf(_In_ float _X, _In_ float _Y)
Definition: math.h:704
float frexpf(float _X, _Out_ int *_Exp) __GPU_ONLY
Gets the mantissa and exponent of _X
Definition: amp_math.h:646
float __dp_math_atanf(float) __GPU_ONLY
float __dp_math_logf(float) __GPU_ONLY
float __dp_math_cosf(float) __GPU_ONLY
int isnan(float _X) __GPU_ONLY
Determines whether the argument is a NaN
Definition: amp_math.h:2748
float __dp_d3d_fmodf(float, float) __GPU_ONLY
double __dp_math_log10(double) __GPU_ONLY
__inline float __CRTDECL sinhf(_In_ float _X)
Definition: math.h:768
float __dp_math_fdimf(float, float) __GPU_ONLY
void sincos(float _X, float *_S, float *_C) __GPU_ONLY
Calculates sine and cosine value of _X
Definition: amp_math.h:1044
float ldexpf(float _X, int _Exp) __GPU_ONLY
Computes a real number from the mantissa and exponent
Definition: amp_math.h:728
float fabsf(float _X) __GPU_ONLY
Returns the absolute value of the argument
Definition: amp_math.h:227
float __dp_math_fmaxf(float, float) __GPU_ONLY
float sqrtf(float _X) __GPU_ONLY
Calculates the squre root of the argument
Definition: amp_math.h:1086
double __dp_math_remainder(double, double) __GPU_ONLY
float nearbyintf(float _X) __GPU_ONLY
Rounds the argument to an integer value in floating-point format, using the current rounding directio...
Definition: amp_math.h:3197
float __dp_d3d_expf(float) __GPU_ONLY
float log(float _X) __GPU_ONLY
Calculates the base-e logarithm of the argument
Definition: amp_math.h:774
float __dp_math_acoshf(float) __GPU_ONLY
float __dp_math_modff(float, _Out_ float *) __GPU_ONLY
float asinh(float _X) __GPU_ONLY
Calculates the inverse hyperbolic sine of the argument
Definition: amp_math.h:1408
float __dp_math_rcbrtf(float) __GPU_ONLY
float sinpif(float _X) __GPU_ONLY
Calculates the sine value of pi * _X
Definition: amp_math.h:3963
double __dp_math_trunc(double) __GPU_ONLY
float __dp_math_nextafterf(float, float) __GPU_ONLY
float __dp_math_tgammaf(float) __GPU_ONLY
float remainder(float _X, float _Y) __GPU_ONLY
Computes the remainder: _X REM _Y
Definition: amp_math.h:3497
int isfinite(float _X) __GPU_ONLY
Determines whether the argument has a finite value
Definition: amp_math.h:2692
float rcbrtf(float _X) __GPU_ONLY
Returns the reciprocal of the cube root of the argument
Definition: amp_math.h:3435
int signbit(float _X) __GPU_ONLY
Returns the sign of the argument
Definition: amp_math.h:982
float copysignf(float _X, float _Y) __GPU_ONLY
Produces a value with the magnitude of _X and the sign of _Y
Definition: amp_math.h:1659
float acosf(float _X) __GPU_ONLY
Calculates the arccosine of the argument
Definition: amp_math.h:255
float __dp_d3d_atanf(float) __GPU_ONLY
double __dp_math_cospi(double) __GPU_ONLY
double __dp_math_erfc(double) __GPU_ONLY
float __dp_math_phif(float) __GPU_ONLY
_CRTIMP double __cdecl fmin(_In_ double _X, _In_ double _Y)
double __dp_math_ldexp(double, int) __GPU_ONLY
double __dp_math_rcbrt(double) __GPU_ONLY
float nearbyint(float _X) __GPU_ONLY
Rounds the argument to an integer value in floating-point format, using the current rounding directio...
Definition: amp_math.h:3212
float __dp_math_hypotf(float, float) __GPU_ONLY
double __dp_math_exp(double) __GPU_ONLY
float asinhf(float _X) __GPU_ONLY
Calculates the inverse hyperbolic sine of the argument
Definition: amp_math.h:1394
int __dp_d3d_signf(float) __GPU_ONLY
_CRTIMP float __cdecl truncf(_In_ float _X)
float ceil(float _X) __GPU_ONLY
Calculates the ceiling of the argument
Definition: amp_math.h:1628
_CRTIMP double __cdecl log2(_In_ double _X)
float log2f(float _X) __GPU_ONLY
Calculates the base-2 logarithm of the argument
Definition: amp_math.h:2990
float rsqrtf(float _X) __GPU_ONLY
Returns the reciprocal of the square root of the argument
Definition: amp_math.h:3639
float __dp_d3d_sinhf(float) __GPU_ONLY
float log10f(float _X) __GPU_ONLY
Calculates the base-10 logarithm of the argument
Definition: amp_math.h:788
double __dp_math_fmod(double, double) __GPU_ONLY
_CRTIMP float __cdecl log2f(_In_ float _X)
float logbf(float _X) __GPU_ONLY
Extracts the exponent of _X, as a signed integer value in floating-point format
Definition: amp_math.h:3074
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 ...
Definition: amp_math.h:3560
double __dp_math_log1p(double) __GPU_ONLY
float scalbf(float _X, float _Y) __GPU_ONLY
Multiplies _X by FLT_RADIX to the power _Y
Definition: amp_math.h:3684
float acos(float _X) __GPU_ONLY
Calculates the arccosine of the argument
Definition: amp_math.h:269
_CRTIMP float __cdecl logbf(_In_ float _X)
double __dp_math_atan2(double, double) __GPU_ONLY
double __dp_math_tgamma(double) __GPU_ONLY
_CRTIMP float __cdecl log1pf(_In_ float _X)
double __dp_math_asin(double) __GPU_ONLY
_CRTIMP double __cdecl cbrt(_In_ double _X)
float erfinv(float _X) __GPU_ONLY
Computes the inverse error function of _X
Definition: amp_math.h:1931
float cospif(float _X) __GPU_ONLY
Calculates the cosine value of pi * _X
Definition: amp_math.h:1791
float lgammaf(float _X, _Out_ int *_Sign) __GPU_ONLY
Computes the natural logarithm of the absolute value of gamma of the argument
Definition: amp_math.h:2858
float fmin(float _X, float _Y) __GPU_ONLY
Determine the minimum numeric value of the arguments
Definition: amp_math.h:2437
double __dp_math_cbrt(double) __GPU_ONLY
float __dp_math_expf(float) __GPU_ONLY
double __dp_math_scalbn(double, int) __GPU_ONLY
int isnan(float _X) __GPU_ONLY
Determines whether the argument is a NaN
Definition: amp_math.h:711
float asin(float _X) __GPU_ONLY
Calculates the arcsine of the argument
Definition: amp_math.h:297
double __dp_math_fdim(double, double) __GPU_ONLY
float rsqrt(float _X) __GPU_ONLY
Returns the reciprocal of the square root of the argument
Definition: amp_math.h:3653
double nan(int _X) __GPU_ONLY
Returns a quiet NaN
Definition: amp_math.h:3181
_In_ double _Y
Definition: math.h:999
_CRTIMP float __cdecl nearbyintf(_In_ float _X)
float __dp_d3d_acosf(float) __GPU_ONLY
float logf(float _X) __GPU_ONLY
Calculates the base-e logarithm of the argument
Definition: amp_math.h:2906
float atan2(float _Y, float _X) __GPU_ONLY
Calculates the arctangent of _Y/_X
Definition: amp_math.h:1498
double atan(double _X) __GPU_ONLY
Calculates the arctangent of the argument
Definition: amp_math.h:1464
_CRTIMP float __cdecl scalbnf(_In_ float _X, _In_ int _Y)
__inline float __CRTDECL sinf(_In_ float _X)
Definition: math.h:763
float exp2(float _X) __GPU_ONLY
Calculates the base-2 exponential of the argument
Definition: amp_math.h:2057
double __dp_math_erfinv(double) __GPU_ONLY
_CRTIMP float __cdecl expm1f(_In_ float _X)
float __dp_d3d_log10f(float) __GPU_ONLY
float __dp_d3d_tanf(float) __GPU_ONLY
double __dp_math_asinh(double) __GPU_ONLY
float __dp_math_powf(float, float) __GPU_ONLY
float cos(float _X) __GPU_ONLY
Calculates the cosine of the argument
Definition: amp_math.h:1721
float __dp_math_roundf(float) __GPU_ONLY
_CRTIMP double __cdecl remainder(_In_ double _X, _In_ double _Y)
float __dp_math_scalbnf(float, int) __GPU_ONLY
float atan2f(float _Y, float _X) __GPU_ONLY
Calculates the arctangent of _Y/_X
Definition: amp_math.h:1481
_CRTIMP double __cdecl erfc(_In_ double _X)
double __dp_math_fma(double, double, double) __GPU_ONLY
_In_ wchar_t _C
Definition: wchar.h:1295
float probit(float _X) __GPU_ONLY
Returns the inverse cumulative distribution function of the argument
Definition: amp_math.h:3407
float frexp(float _X, _Out_ int *_Exp) __GPU_ONLY
Gets the mantissa and exponent of _X
Definition: amp_math.h:669
float logf(float _X) __GPU_ONLY
Calculates the base-e logarithm of the argument
Definition: amp_math.h:760
float __dp_d3d_rsqrtf(float) __GPU_ONLY
float __dp_math_fmodf(float, float) __GPU_ONLY
float fmin(float _X, float _Y) __GPU_ONLY
Determine the minimum numeric value of the arguments
Definition: amp_math.h:595
float erfc(float _X) __GPU_ONLY
Computes the complementary error function of _X
Definition: amp_math.h:1889
double __dp_math_sincos(double, _Out_ double *) __GPU_ONLY
_CRTIMP double __cdecl frexp(_In_ double _X, _Out_ int *_Y)
double __dp_math_pow(double, double) __GPU_ONLY
float rsqrtf(float _X) __GPU_ONLY
Returns the reciprocal of the square root of the argument
Definition: amp_math.h:940
int __dp_math_fpclassifyf(float) __GPU_ONLY
float log1p(float _X) __GPU_ONLY
Calculates the base-e logarithm of 1 plus the argument
Definition: amp_math.h:3046
float __dp_math_exp10f(float) __GPU_ONLY
double cosh(double _X) __GPU_ONLY
Calculates the hyperbolic cosine value of the argument
Definition: amp_math.h:1777
float __dp_math_ceilf(float) __GPU_ONLY
double __dp_math_nextafter(double, double) __GPU_ONLY
float log10(float _X) __GPU_ONLY
Calculates the base-10 logarithm of the argument
Definition: amp_math.h:802
float __dp_d3d_absf(float) __GPU_ONLY
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 ...
Definition: amp_math.h:3266
float __dp_d3d_fracf(float) __GPU_ONLY
float log10f(float _X) __GPU_ONLY
Calculates the base-10 logarithm of the argument
Definition: amp_math.h:2948
float __dp_d3d_log2f(float) __GPU_ONLY
int __dp_math_isnormalf(float) __GPU_ONLY
float tanf(float _X) __GPU_ONLY
Calculates the tangent value of the argument
Definition: amp_math.h:4089
float __dp_d3d_ceilf(float) __GPU_ONLY
float __dp_d3d_modff(float, _Out_ float *) __GPU_ONLY
int __dp_math_isnanf(float) __GPU_ONLY
double __dp_math_round(double) __GPU_ONLY
float coshf(float _X) __GPU_ONLY
Calculates the hyperbolic cosine value of the argument
Definition: amp_math.h:1749
float cosh(float _X) __GPU_ONLY
Calculates the hyperbolic cosine value of the argument
Definition: amp_math.h:1763
float log1pf(float _X) __GPU_ONLY
Calculates the base-e logarithm of 1 plus the argument
Definition: amp_math.h:3032
float __dp_d3d_coshf(float) __GPU_ONLY
float __dp_math_remainderf(float, float) __GPU_ONLY
float truncf(float _X) __GPU_ONLY
Truncates the argument to the integer component
Definition: amp_math.h:4215
int __dp_math_signbitf(float) __GPU_ONLY
float __dp_d3d_exp2f(float) __GPU_ONLY
float atan(float _X) __GPU_ONLY
Calculates the arctangent of the argument
Definition: amp_math.h:1450
_CRTIMP double __cdecl asinh(_In_ double _X)
double __dp_math_frexp(double, _Out_ int *) __GPU_ONLY
float sqrt(float _X) __GPU_ONLY
Calculates the squre root of the argument
Definition: amp_math.h:4019
float fmax(float _X, float _Y) __GPU_ONLY
Determine the maximum numeric value of the arguments
Definition: amp_math.h:2386
double __dp_math_copysign(double, double) __GPU_ONLY
float erfcinv(float _X) __GPU_ONLY
Computes the inverse complementary error function of _X
Definition: amp_math.h:1973
int isnormal(float _X) __GPU_ONLY
Determines whether the argument is a normal
Definition: amp_math.h:2776
float __dp_math_cospif(float) __GPU_ONLY
float __dp_d3d_roundf(float) __GPU_ONLY
float tanpif(float _X) __GPU_ONLY
Calculates the tangent value of pi * _X
Definition: amp_math.h:4173
float log2f(float _X) __GPU_ONLY
Calculates the base-2 logarithm of the argument
Definition: amp_math.h:816
float floor(float _X) __GPU_ONLY
Calculates the floor of the argument
Definition: amp_math.h:2278
float expm1(float _X) __GPU_ONLY
Calculates the base-e exponential of the argument, minus 1
Definition: amp_math.h:2141
float tanhf(float _X) __GPU_ONLY
Calculates the hyperbolic tangent value of the argument
Definition: amp_math.h:1142
float atanf(float _X) __GPU_ONLY
Calculates the arctangent of the argument
Definition: amp_math.h:311
float cos(float _X) __GPU_ONLY
Calculates the cosine of the argument
Definition: amp_math.h:415
void sincosf(float _X, _Out_ float *_S, _Out_ float *_C) __GPU_ONLY
Calculates sine and cosine value of _X
Definition: amp_math.h:3873
_CRTIMP int __cdecl ilogbf(_In_ float _X)
float __dp_math_expm1f(float) __GPU_ONLY
double __dp_math_nan(int) __GPU_ONLY
float __dp_math_sinhf(float) __GPU_ONLY
double __dp_math_sin(double) __GPU_ONLY
_CRTIMP float __cdecl acoshf(_In_ float _X)
int __dp_math_ilogbf(float) __GPU_ONLY
double __dp_math_cos(double) __GPU_ONLY
_CRTIMP double __cdecl fma(_In_ double _X, _In_ double _Y, _In_ double _Z)
__inline float __CRTDECL acosf(_In_ float _X)
Definition: math.h:637
float modf(float _X, float *_Ip) __GPU_ONLY
Splits _X into fractional and integer parts.
Definition: amp_math.h:864
__inline float __CRTDECL ceilf(_In_ float _X)
Definition: math.h:657
float ldexp(float _X, int _Exp) __GPU_ONLY
Computes a real number from the mantissa and exponent
Definition: amp_math.h:746
float modff(float _X, _Out_ float *_Iptr) __GPU_ONLY
Splits _X into fractional and integer parts.
Definition: amp_math.h:3119
__inline float __CRTDECL modff(_In_ float _X, _Out_ float *_Y)
Definition: math.h:750
double __dp_math_lgamma(double, _Out_ int *) __GPU_ONLY
float sinhf(float _X) __GPU_ONLY
Calculates the hyperbolic sine value of the argument
Definition: amp_math.h:3921
int signbit(float _X) __GPU_ONLY
Determines whether the sign of _X is negative
Definition: amp_math.h:3799
float __dp_math_lgammaf(float, _Out_ int *) __GPU_ONLY
float asinf(float _X) __GPU_ONLY
Calculates the arcsine of the argument
Definition: amp_math.h:1352
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FExp(float *, float, short)
float sqrtf(float _X) __GPU_ONLY
Calculates the squre root of the argument
Definition: amp_math.h:4005
double tanh(double _X) __GPU_ONLY
Calculates the hyperbolic tangent value of the argument
Definition: amp_math.h:4159
float asinf(float _X) __GPU_ONLY
Calculates the arcsine of the argument
Definition: amp_math.h:283
double sinh(double _X) __GPU_ONLY
Calculates the hyperbolic sine value of the argument
Definition: amp_math.h:3949
float __dp_math_fabsf(float) __GPU_ONLY
float __dp_math_log10f(float) __GPU_ONLY
_CRTIMP double __cdecl remquo(_In_ double _X, _In_ double _Y, _Out_ int *_Z)
float __dp_d3d_minf(float, float) __GPU_ONLY
int isfinite(float _X) __GPU_ONLY
Determines whether the argument has a finite value
Definition: amp_math.h:683
_CRTIMP double __cdecl exp2(_In_ double _X)
float __dp_math_erfinvf(float) __GPU_ONLY
_CRTIMP double __cdecl nextafter(_In_ double _X, _In_ double _Y)
float roundf(float _X) __GPU_ONLY
Rounds _X to the nearest integer
Definition: amp_math.h:3597
float cbrtf(float _X) __GPU_ONLY
Computes the real cube root of the argument
Definition: amp_math.h:1572
_CRTIMP double __cdecl ceil(_In_ double _X)
float __dp_d3d_sqrtf(float) __GPU_ONLY
float rcbrt(float _X) __GPU_ONLY
Returns the reciprocal of the cube root of the argument
Definition: amp_math.h:3449
double __dp_math_fmin(double, double) __GPU_ONLY
float round(float _X) __GPU_ONLY
Rounds _X to the nearest integer
Definition: amp_math.h:3611
float __dp_d3d_truncf(float) __GPU_ONLY
_CRTIMP double __cdecl acosh(_In_ double _X)
float __dp_math_tanpif(float) __GPU_ONLY
float floor(float _X) __GPU_ONLY
Calculates the floor of the argument
Definition: amp_math.h:527
float __dp_math_rsqrtf(float) __GPU_ONLY
float copysign(float _X, float _Y) __GPU_ONLY
Produces a value with the magnitude of _X and the sign of _Y
Definition: amp_math.h:1676
float __dp_d3d_sincosf(float, _Out_ float *) __GPU_ONLY
__inline double __CRTDECL hypot(_In_ double _X, _In_ double _Y)
Definition: math.h:555
double __dp_math_sqrt(double) __GPU_ONLY
float __dp_math_fmaf(float, float, float) __GPU_ONLY
int __dp_d3d_isnanf(float) __GPU_ONLY
float fabsf(float _X) __GPU_ONLY
Returns the absolute value of the argument
Definition: amp_math.h:2169
float powf(float _X, float _Y) __GPU_ONLY
Calculates _X raised to the power of _Y
Definition: amp_math.h:3344
float log(float _X) __GPU_ONLY
Calculates the base-e logarithm of the argument
Definition: amp_math.h:2920
double __dp_math_scalb(double, double) __GPU_ONLY
float tanf(float _X) __GPU_ONLY
Calculates the tangent value of the argument
Definition: amp_math.h:1114
double __dp_math_exp2(double) __GPU_ONLY
float __dp_math_erfcf(float) __GPU_ONLY
float __dp_math_probitf(float) __GPU_ONLY
float tanpi(float _X) __GPU_ONLY
Calculates the tangent value of pi * _X
Definition: amp_math.h:4187
float exp10f(float _X) __GPU_ONLY
Calculates the base-10 exponential of the argument
Definition: amp_math.h:2085
float __dp_d3d_asinf(float) __GPU_ONLY
double __dp_math_log2(double) __GPU_ONLY
int __dp_math_isfinitef(float) __GPU_ONLY
float __dp_math_sqrtf(float) __GPU_ONLY
float sinf(float _X) __GPU_ONLY
Calculates the sine value of the argument
Definition: amp_math.h:3828
int ilogb(float _X) __GPU_ONLY
Extract the exponent of _X as a signed int value
Definition: amp_math.h:2664
_CRTIMP float __cdecl erff(_In_ float _X)
float modff(float _X, float *_Ip) __GPU_ONLY
Splits _X into fractional and integer parts.
Definition: amp_math.h:847
float fmaxf(float _X, float _Y) __GPU_ONLY
Determine the maximum numeric value of the arguments
Definition: amp_math.h:544
double __dp_math_tanpi(double) __GPU_ONLY
int __dp_math_isinf(double) __GPU_ONLY
float log10(float _X) __GPU_ONLY
Calculates the base-10 logarithm of the argument
Definition: amp_math.h:2962
double __dp_math_log(double) __GPU_ONLY
float acoshf(float _X) __GPU_ONLY
Calculates the inverse hyperbolic cosine of the argument
Definition: amp_math.h:1309
float __dp_math_logbf(float) __GPU_ONLY
float tanhf(float _X) __GPU_ONLY
Calculates the hyperbolic tangent value of the argument
Definition: amp_math.h:4131
double __dp_math_nearbyint(double) __GPU_ONLY
__inline float __CRTDECL ldexpf(_In_ float _X, _In_ int _Y)
Definition: math.h:721
float fmod(float _X, float _Y) __GPU_ONLY
Calculates the floating-point remainder of _X/_Y
Definition: amp_math.h:2488
double cos(double _X) __GPU_ONLY
Calculates the cosine of the argument
Definition: amp_math.h:1735
float __dp_math_ldexpf(float, int) __GPU_ONLY
_CRTIMP double __cdecl expm1(_In_ double _X)
float sinf(float _X) __GPU_ONLY
Calculates the sine value of the argument
Definition: amp_math.h:996
float __dp_math_copysignf(float, float) __GPU_ONLY
float fdimf(float _X, float _Y) __GPU_ONLY
Determines the positive difference between the arguments
Definition: amp_math.h:2214
float tan(float _X) __GPU_ONLY
Calculates the tangent value of the argument
Definition: amp_math.h:1128
float tan(float _X) __GPU_ONLY
Calculates the tangent value of the argument
Definition: amp_math.h:4103
float erfcinvf(float _X) __GPU_ONLY
Computes the inverse complementary error function of _X
Definition: amp_math.h:1959
#define __GPU_ONLY
Definition: amprt.h:42
float atanf(float _X) __GPU_ONLY
Calculates the arctangent of the argument
Definition: amp_math.h:1436
float erfinvf(float _X) __GPU_ONLY
Computes the inverse error function of _X
Definition: amp_math.h:1917
float asin(float _X) __GPU_ONLY
Calculates the arcsine of the argument
Definition: amp_math.h:1366
double __dp_math_sinh(double) __GPU_ONLY
double exp(double _X) __GPU_ONLY
Calculates the base-e exponential of the argument
Definition: amp_math.h:2029
_CRTIMP float __cdecl remquof(_In_ float _X, _In_ float _Y, _Out_ int *_Z)
float cbrt(float _X) __GPU_ONLY
Computes the real cube root of the argument
Definition: amp_math.h:1586
int __dp_math_isnormal(double) __GPU_ONLY
float scalbnf(float _X, int _Y) __GPU_ONLY
Multiplies _X by FLT_RADIX to the power _Y
Definition: amp_math.h:3735
float fma(float _X, float _Y, float _Z) __GPU_ONLY
Compute (_X * _Y) + _Z, rounded as one ternary operation
Definition: amp_math.h:2332
double __dp_math_tanh(double) __GPU_ONLY
double __dp_math_fabs(double) __GPU_ONLY
float erf(float _X) __GPU_ONLY
Computes the error function of _X
Definition: amp_math.h:1847
double __dp_math_exp10(double) __GPU_ONLY
float pow(float _X, float _Y) __GPU_ONLY
Calculates _X raised to the power of _Y
Definition: amp_math.h:898
_CRTIMP double __cdecl nearbyint(_In_ double _X)
float exp10(float _X) __GPU_ONLY
Calculates the base-10 exponential of the argument
Definition: amp_math.h:2099
_CRTIMP float __cdecl nextafterf(_In_ float _X, _In_ float _Y)
int isinf(float _X) __GPU_ONLY
Determines whether the argument is an infinity
Definition: amp_math.h:2720
float __dp_math_erfcinvf(float) __GPU_ONLY
void sincosf(float _X, float *_S, float *_C) __GPU_ONLY
Calculates sine and cosine value of _X
Definition: amp_math.h:1027
float __dp_math_truncf(float) __GPU_ONLY
float scalbn(float _X, int _Y) __GPU_ONLY
Multiplies _X by FLT_RADIX to the power _Y
Definition: amp_math.h:3752
float fmodf(float _X, float _Y) __GPU_ONLY
Calculates the floating-point remainder of _X/_Y
Definition: amp_math.h:612
float sin(float _X) __GPU_ONLY
Calculates the sine value of the argument
Definition: amp_math.h:3842
float __dp_d3d_logf(float) __GPU_ONLY
float ceil(float _X) __GPU_ONLY
Calculates the ceiling of the argument
Definition: amp_math.h:387
_CRTIMP float __cdecl atanhf(_In_ float _X)
float phi(float _X) __GPU_ONLY
Returns the cumulative distribution function of the argument
Definition: amp_math.h:3313
_CRTIMP float __cdecl copysignf(_In_ float _X, _In_ float _Y)
float hypotf(float _X, float _Y) __GPU_ONLY
Computes the square root of the sum of the squares of _X and _Y
Definition: amp_math.h:2602
double __dp_math_phi(double) __GPU_ONLY
float probitf(float _X) __GPU_ONLY
Returns the inverse cumulative distribution function of the argument
Definition: amp_math.h:3393
float exp2(float _X) __GPU_ONLY
Calculates the base-2 exponential of the argument
Definition: amp_math.h:499
double atan2(double _Y, double _X) __GPU_ONLY
Calculates the arctangent of _Y/_X
Definition: amp_math.h:1515
_CRTIMP double __cdecl tgamma(_In_ double _X)
double __dp_math_cosh(double) __GPU_ONLY
__inline float __CRTDECL expf(_In_ float _X)
Definition: math.h:672
_CRTIMP double __cdecl trunc(_In_ double _X)
float fabs(float _X) __GPU_ONLY
Returns the absolute value of the argument
Definition: amp_math.h:241
_CRTIMP int __cdecl ilogb(_In_ double _X)
float exp2f(float _X) __GPU_ONLY
Calculates the base-2 exponential of the argument
Definition: amp_math.h:485
float fmodf(float _X, float _Y) __GPU_ONLY
Calculates the floating-point remainder of _X/_Y
Definition: amp_math.h:2471
float truncf(float _X) __GPU_ONLY
Truncates the argument to the integer component
Definition: amp_math.h:1169
float sinhf(float _X) __GPU_ONLY
Calculates the hyperbolic sine value of the argument
Definition: amp_math.h:1058