Skip to content

Latest commit

 

History

History
166 lines (154 loc) · 21 KB

concurrency-precise-math-namespace.md

File metadata and controls

166 lines (154 loc) · 21 KB
description title ms.date f1_keywords ms.assetid
Learn more about: Concurrency::precise_math Namespace
Concurrency::precise_math Namespace
11/04/2016
AMP_MATH/Concurrency::acos
AMP_MATH/Concurrency::acosf
AMP_MATH/Concurrency::acosh
AMP_MATH/Concurrency::acoshf
AMP_MATH/Concurrency::asin
AMP_MATH/Concurrency::asinf
AMP_MATH/Concurrency::asinh
AMP_MATH/Concurrency::asinhf
AMP_MATH/Concurrency::atan
AMP_MATH/Concurrency::atan2
AMP_MATH/Concurrency::atan2f
AMP_MATH/Concurrency::atanf
AMP_MATH/Concurrency::atanh
AMP_MATH/Concurrency::atanhf
AMP_MATH/Concurrency::cbrt
AMP_MATH/Concurrency::cbrtf
AMP_MATH/Concurrency::ceil
AMP_MATH/Concurrency::ceilf
AMP_MATH/Concurrency::copysign
AMP_MATH/Concurrency::copysignf
AMP_MATH/Concurrency::cos
AMP_MATH/Concurrency::cosf
AMP_MATH/Concurrency::cosh
AMP_MATH/Concurrency::coshf
AMP_MATH/Concurrency::cospi
AMP_MATH/Concurrency::cospif
AMP_MATH/Concurrency::erf
AMP_MATH/Concurrency::erfc
AMP_MATH/Concurrency::erfcf
AMP_MATH/Concurrency::erfcinv
AMP_MATH/Concurrency::erfcinvf
AMP_MATH/Concurrency::erff
AMP_MATH/Concurrency::erfinv
AMP_MATH/Concurrency::erfinvf
AMP_MATH/Concurrency::exp
AMP_MATH/Concurrency::exp10
AMP_MATH/Concurrency::exp10f
AMP_MATH/Concurrency::exp2
AMP_MATH/Concurrency::exp2f
AMP_MATH/Concurrency::expf
AMP_MATH/Concurrency::expm1
AMP_MATH/Concurrency::expm1f
AMP_MATH/Concurrency::fabs
AMP_MATH/Concurrency::fabsf
AMP_MATH/Concurrency::fdim
AMP_MATH/Concurrency::fdimf
AMP_MATH/Concurrency::floor
AMP_MATH/Concurrency::floorf
AMP_MATH/Concurrency::fma
AMP_MATH/Concurrency::fmaf
AMP_MATH/Concurrency::fmax
AMP_MATH/Concurrency::fmaxf
AMP_MATH/Concurrency::fmin
AMP_MATH/Concurrency::fminf
AMP_MATH/Concurrency::fmodf
AMP_MATH/Concurrency::fpclassify
AMP_MATH/Concurrency::frexp
AMP_MATH/Concurrency::frexpf
AMP_MATH/Concurrency::hypot
AMP_MATH/Concurrency::hypotf
AMP_MATH/Concurrency::ilogb
AMP_MATH/Concurrency::ilogbf
AMP_MATH/Concurrency::isfinite
AMP_MATH/Concurrency::isinf
AMP_MATH/Concurrency::isnan
AMP_MATH/Concurrency::isnormal
AMP_MATH/Concurrency::ldexp
AMP_MATH/Concurrency::ldexpf
AMP_MATH/Concurrency::lgamma
AMP_MATH/Concurrency::lgammaf
AMP_MATH/Concurrency::log
AMP_MATH/Concurrency::log10
AMP_MATH/Concurrency::log10f
AMP_MATH/Concurrency::log1p
AMP_MATH/Concurrency::log1pf
AMP_MATH/Concurrency::log2
AMP_MATH/Concurrency::log2f
AMP_MATH/Concurrency::logb
AMP_MATH/Concurrency::logbf
AMP_MATH/Concurrency::logf
AMP_MATH/Concurrency::modf
AMP_MATH/Concurrency::modff
AMP_MATH/Concurrency::nan
AMP_MATH/Concurrency::nanf
AMP_MATH/Concurrency::nearbyint
AMP_MATH/Concurrency::nearbyintf
AMP_MATH/Concurrency::nextafter
AMP_MATH/Concurrency::nextafterf
AMP_MATH/Concurrency::phi
AMP_MATH/Concurrency::phif
AMP_MATH/Concurrency::pow
AMP_MATH/Concurrency::powf
AMP_MATH/Concurrency::probit
AMP_MATH/Concurrency::probitf
AMP_MATH/Concurrency::rcbrt
AMP_MATH/Concurrency::rcbrtf
AMP_MATH/Concurrency::remainder
AMP_MATH/Concurrency::remainderf
AMP_MATH/Concurrency::remquo
AMP_MATH/Concurrency::remquof
AMP_MATH/Concurrency::round
AMP_MATH/Concurrency::roundf
AMP_MATH/Concurrency::rsqrt
AMP_MATH/Concurrency::rsqrtf
AMP_MATH/Concurrency::scalb
AMP_MATH/Concurrency::scalbf
AMP_MATH/Concurrency::scalbn
AMP_MATH/Concurrency::scalbnf
AMP_MATH/Concurrency::signbit
AMP_MATH/Concurrency::signbitf
AMP_MATH/Concurrency::sin
AMP_MATH/Concurrency::sincos
AMP_MATH/Concurrency::sincosf
AMP_MATH/Concurrency::sinf
AMP_MATH/Concurrency::sinh
AMP_MATH/Concurrency::sinhf
AMP_MATH/Concurrency::sinpi
AMP_MATH/Concurrency::sinpif
AMP_MATH/Concurrency::sqrt
AMP_MATH/Concurrency::sqrtf
AMP_MATH/Concurrency::tan
AMP_MATH/Concurrency::tanf
AMP_MATH/Concurrency::tanh
AMP_MATH/Concurrency::tanhf
AMP_MATH/Concurrency::tanpi
AMP_MATH/Concurrency::tanpif
AMP_MATH/Concurrency::tgamma
AMP_MATH/Concurrency::tgammaf
AMP_MATH/Concurrency::trunc
AMP_MATH/Concurrency::truncf
ba653308-dc28-4384-b2fd-6cd718a72f91

Concurrency::precise_math Namespace

Functions in the precise_math namespace are C99 conformant. Both single precision and double precision versions of each function are included. For example, acos is the double-precision version and acosf is the single-precision version. These functions, including the single-precision functions, require extended double-precision support on the accelerator. You can use the accelerator::supports_double_precision to determine if you can run these functions on a specific accelerator.

Syntax

namespace precise_math;

Parameters

Members

Functions

Name Description
acos Overloaded. Calculates the arccosine of the argument
acosf Calculates the arccosine of the argument
acosh Overloaded. Calculates the inverse hyperbolic cosine of the argument
acoshf Calculates the inverse hyperbolic cosine of the argument
asin Overloaded. Calculates the arcsine of the argument
asinf Calculates the arcsine of the argument
asinh Overloaded. Calculates the inverse hyperbolic sine of the argument
asinhf Calculates the inverse hyperbolic sine of the argument
atan Overloaded. Calculates the arctangent of the argument
atan2 Overloaded. Calculates the arctangent of _Y/_X
atan2f Calculates the arctangent of _Y/_X
atanf Calculates the arctangent of the argument
atanh Overloaded. Calculates the inverse hyperbolic tangent of the argument
atanhf Calculates the inverse hyperbolic tangent of the argument
cbrt Overloaded. Computes the real cube root of the argument
cbrtf Computes the real cube root of the argument
ceil Overloaded. Calculates the ceiling of the argument
ceilf Calculates the ceiling of the argument
copysign Overloaded. Produces a value with the magnitude of _X and the sign of _Y
copysignf Produces a value with the magnitude of _X and the sign of _Y
cos Overloaded. Calculates the cosine of the argument
cosf Calculates the cosine of the argument
cosh Overloaded. Calculates the hyperbolic cosine value of the argument
coshf Calculates the hyperbolic cosine value of the argument
cospi Overloaded. Calculates the cosine value of pi * _X
cospif Calculates the cosine value of pi * _X
erf Overloaded. Computes the error function of _X
erfc Overloaded. Computes the complementary error function of _X
erfcf Computes the complementary error function of _X
erfcinv Overloaded. Computes the inverse complementary error function of _X
erfcinvf Computes the inverse complementary error function of _X
erff Computes the error function of _X
erfinv Overloaded. Computes the inverse error function of _X
erfinvf Computes the inverse error function of _X
exp Overloaded. Calculates the base-e exponential of the argument
exp10 Overloaded. Calculates the base-10 exponential of the argument
exp10f Calculates the base-10 exponential of the argument
exp2 Overloaded. Calculates the base-2 exponential of the argument
exp2f Calculates the base-2 exponential of the argument
expf Calculates the base-e exponential of the argument
expm1 Overloaded. Calculates the base-e exponential of the argument, minus 1
expm1f Calculates the base-e exponential of the argument, minus 1
fabs Overloaded. Returns the absolute value of the argument
fabsf Returns the absolute value of the argument
fdim Overloaded. Determines the positive difference between the arguments
fdimf Determines the positive difference between the arguments
floor Overloaded. Calculates the floor of the argument
floorf Calculates the floor of the argument
fma Overloaded. Compute (_X * _Y) + _Z, rounded as one ternary operation
fmaf Compute (_X * _Y) + _Z, rounded as one ternary operation
fmax Overloaded. Determine the maximum numeric value of the arguments
fmaxf Determine the maximum numeric value of the arguments
fmin Overloaded. Determine the minimum numeric value of the arguments
fminf Determine the minimum numeric value of the arguments
fmod Function (C++ AMP) Overloaded. Calculates the floating-point remainder of _X/_Y
fmodf Calculates the floating-point remainder of _X/_Y
fpclassify Overloaded. Classifies the argument value as NaN, infinite, normal, subnormal, zero
frexp Overloaded. Gets the mantissa and exponent of _X
frexpf Gets the mantissa and exponent of _X
hypot Overloaded. Computes the square root of the sum of the squares of _X and _Y
hypotf Computes the square root of the sum of the squares of _X and _Y
ilogb Overloaded. Extract the exponent of _X as a signed int value
ilogbf Extract the exponent of _X as a signed int value
isfinite Overloaded. Determines whether the argument has a finite value
isinf Overloaded. Determines whether the argument is an infinity
isnan Overloaded. Determines whether the argument is a NaN
isnormal Overloaded. Determines whether the argument is a normal
ldexp Overloaded. Computes a real number from the mantissa and exponent
ldexpf Computes a real number from the mantissa and exponent
lgamma Overloaded. Computes the natural logarithm of the absolute value of gamma of the argument
lgammaf Computes the natural logarithm of the absolute value of gamma of the argument
log Overloaded. Calculates the base-e logarithm of the argument
log10 Overloaded. Calculates the base-10 logarithm of the argument
log10f Calculates the base-10 logarithm of the argument
log1p Overloaded. Calculates the base-e logarithm of 1 plus the argument
log1pf Calculates the base-e logarithm of 1 plus the argument
log2 Overloaded. Calculates the base-2 logarithm of the argument
log2f Calculates the base-2 logarithm of the argument
logb Overloaded. Extracts the exponent of _X, as a signed integer value in floating-point format
logbf Extracts the exponent of _X, as a signed integer value in floating-point format
logf Calculates the base-e logarithm of the argument
modf Overloaded. Splits _X into fractional and integer parts.
modff Splits _X into fractional and integer parts.
nan Returns a quiet NaN
nanf Returns a quiet NaN
nearbyint Overloaded. Rounds the argument to an integer value in floating-point format, using the current rounding direction.
nearbyintf Rounds the argument to an integer value in floating-point format, using the current rounding direction.
nextafter Overloaded. Determine the next representable value, in the type of the function, after _X in the direction of _Y
nextafterf Determine the next representable value, in the type of the function, after _X in the direction of _Y
phi Overloaded. Returns the cumulative distribution function of the argument
phif Returns the cumulative distribution function of the argument
pow Overloaded. Calculates _X raised to the power of _Y
powf Calculates _X raised to the power of _Y
probit Overloaded. Returns the inverse cumulative distribution function of the argument
probitf Returns the inverse cumulative distribution function of the argument
rcbrt Overloaded. Returns the reciprocal of the cube root of the argument
rcbrtf Returns the reciprocal of the cube root of the argument
remainder Overloaded. Computes the remainder: _X REM _Y
remainderf Computes the remainder: _X REM _Y
remquo Overloaded. Computes the same remainder as _X REM _Y. Also calculates the lower 23 bits of the integral quotient _X/_Y, and gives that value the same sign as _X/_Y. It stores this signed value in the integer pointed to by _Quo.
remquof Computes the same remainder as _X REM _Y. Also calculates the lower 23 bits of the integral quotient _X/_Y, and gives that value the same sign as _X/_Y. It stores this signed value in the integer pointed to by _Quo.
round Overloaded. Rounds _X to the nearest integer
roundf Rounds _X to the nearest integer
rsqrt Overloaded. Returns the reciprocal of the square root of the argument
rsqrtf Returns the reciprocal of the square root of the argument
scalb Overloaded. Multiplies _X by FLT_RADIX to the power _Y
scalbf Multiplies _X by FLT_RADIX to the power _Y
scalbn Overloaded. Multiplies _X by FLT_RADIX to the power _Y
scalbnf Multiplies _X by FLT_RADIX to the power _Y
signbit Overloaded. Determines whether the sign of _X is negative
signbitf Determines whether the sign of _X is negative
sin Overloaded. Calculates the sine value of the argument
sincos Overloaded. Calculates sine and cosine value of _X
sincosf Calculates sine and cosine value of _X
sinf Calculates the sine value of the argument
sinh Overloaded. Calculates the hyperbolic sine value of the argument
sinhf Calculates the hyperbolic sine value of the argument
sinpi Overloaded. Calculates the sine value of pi * _X
sinpif Calculates the sine value of pi * _X
sqrt Overloaded. Calculates the squre root of the argument
sqrtf Calculates the squre root of the argument
tan Overloaded. Calculates the tangent value of the argument
tanf Calculates the tangent value of the argument
tanh Overloaded. Calculates the hyperbolic tangent value of the argument
tanhf Calculates the hyperbolic tangent value of the argument
tanpi Overloaded. Calculates the tangent value of pi * _X
tanpif Calculates the tangent value of pi * _X
tgamma Overloaded. Computes the gamma function of _X
tgammaf Computes the gamma function of _X
trunc Overloaded. Truncates the argument to the integer component
truncf Truncates the argument to the integer component

Requirements

Header: amp_math.h

Namespace: Concurrency

See also

Concurrency Namespace (C++ AMP)