Partilhar via


Simultaneidade:funções de namespace :p recise_math

acos

Calcula o arco cosseno do argumento

inline float acos(float _X) restrict(amp);

inline double acos(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor arccosine do argumento

acosf

Calcula o arco cosseno do argumento

inline float acosf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor arccosine do argumento

acosh

Calcula o cosseno hiperbólico inverso do argumento

inline float acosh(float _X) restrict(amp);

inline double acosh(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor cosseno hiperbólico inverso do argumento

acoshf

Calcula o cosseno hiperbólico inverso do argumento

inline float acoshf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor cosseno hiperbólico inverso do argumento

asin

Calcula o arco do argumento

inline float asin(float _X) restrict(amp);

inline double asin(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor arcsine do argumento

asinf

Calcula o arco do argumento

inline float asinf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor arcsine do argumento

asinh

Calcula o seno hiperbólico inverso do argumento

inline float asinh(float _X) restrict(amp);

inline double asinh(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor seno hiperbólico inverso do argumento

asinhf

Calcula o seno hiperbólico inverso do argumento

inline float asinhf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor seno hiperbólico inverso do argumento

atan

Calcula o arco tangente do argumento

inline float atan(float _X) restrict(amp);

inline double atan(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor de arco tangente do argumento

atan2

Calcula o arco tangente de _Y/_X

inline float atan2(
    float _Y,
    float _X) restrict(amp);

inline double atan2(
    double _Y,
    double _X) restrict(amp);

Parameters

_Y
Floating-point value

_X
Floating-point value

Return Value

Devolve o valor de arco tangente de _Y/_X

atan2f

Calcula o arco tangente de _Y/_X

inline float atan2f(
    float _Y,
    float _X) restrict(amp);

Parameters

_Y
Floating-point value

_X
Floating-point value

Return Value

Devolve o valor de arco tangente de _Y/_X

atanf

Calcula o arco tangente do argumento

inline float atanf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor de arco tangente do argumento

atanh

Calcula a tangente hiperbólica inversa do argumento

inline float atanh(float _X) restrict(amp);

inline double atanh(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor tangente hiperbólico inverso do argumento

atanhf

Calcula a tangente hiperbólica inversa do argumento

inline float atanhf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor tangente hiperbólico inverso do argumento

cbrt

Calcula a raiz do cubo real do argumento

inline float cbrt(float _X) restrict(amp);

inline double cbrt(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna a raiz de cubo real do argumento

cbrtf

Calcula a raiz do cubo real do argumento

inline float cbrtf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna a raiz de cubo real do argumento

ceil

Calcula o teto do argumento

inline float ceil(float _X) restrict(amp);

inline double ceil(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o limite máximo do argumento

ceilf

Calcula o teto do argumento

inline float ceilf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o limite máximo do argumento

copysign

Produz um valor com a magnitude de _X e o sinal de _Y

inline float copysign(
    float _X,
    float _Y) restrict(amp);

inline double copysign(
    double _X,
    double _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Devolve um valor com a magnitude de _X e o sinal de _Y

copysignf

Produz um valor com a magnitude de _X e o sinal de _Y

inline float copysignf(
    float _X,
    float _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Devolve um valor com a magnitude de _X e o sinal de _Y

cos

Calcula o cosseno do argumento

inline float cos(float _X) restrict(amp);

inline double cos(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor cosseno do argumento

cosf

Calcula o cosseno do argumento

inline float cosf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor cosseno do argumento

cosh

Calcula o valor de cosseno hiperbólico do argumento

inline float cosh(float _X) restrict(amp);

inline double cosh(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor cosseno hiperbólico do argumento

coshf

Calcula o valor de cosseno hiperbólico do argumento

inline float coshf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor cosseno hiperbólico do argumento

cospi

Calcula o valor cosseno de pi * _X

inline float cospi(float _X) restrict(amp);

inline double cospi(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor cosseno de pi * _X

cospif

Calcula o valor cosseno de pi * _X

inline float cospif(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor cosseno de pi * _X

erf

Calcula a função de erro de _X

inline float erf(float _X) restrict(amp);

inline double erf(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna a função de erro de _X

erfc

Calcula a função de erro complementar de _X

inline float erfc(float _X) restrict(amp);

inline double erfc(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a função de erro complementar do _X

erfcf

Calcula a função de erro complementar de _X

inline float erfcf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a função de erro complementar do _X

erfcinv

Calcula a função de erro complementar inverso de _X

inline float erfcinv(float _X) restrict(amp);

inline double erfcinv(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a função de erro complementar inversa de _X

erfcinvf

Calcula a função de erro complementar inverso de _X

inline float erfcinvf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a função de erro complementar inversa de _X

erff

Calcula a função de erro de _X

inline float erff(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna a função de erro de _X

erfinv

Calcula a função de erro inverso de _X

inline float erfinv(float _X) restrict(amp);

inline double erfinv(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a função de erro inverso de _X

erfinvf

Calcula a função de erro inverso de _X

inline float erfinvf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a função de erro inverso de _X

exp10

Calcula o exponencial de base 10 do argumento

inline float exp10(float _X) restrict(amp);

inline double exp10(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o exponencial base-10 do argumento

exp10f

Calcula o exponencial de base 10 do argumento

inline float exp10f(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o exponencial base-10 do argumento

expm1

Calcula o exponencial base-e do argumento, menos 1

inline float expm1(float exponent) restrict(amp);

inline double expm1(double exponent) restrict(amp);

Parameters

exponent
The exponential term n of the mathematical expression en, where e is the base of the natural logarithm.

Return Value

Devolve o exponencial base-e do argumento, menos 1

expm1f

Calcula o exponencial base-e do argumento, menos 1

inline float expm1f(float exponent) restrict(amp);

Parameters

exponent
The exponential term n of the mathematical expression en, where e is the base of the natural logarithm.

Return Value

Devolve o exponencial base-e do argumento, menos 1

exp

Calcula o exponencial base-e do argumento

inline float exp(float _X) restrict(amp);

inline double exp(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o exponencial base-e do argumento

expf

Calcula o exponencial base-e do argumento

inline float expf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o exponencial base-e do argumento

exp2

Calcula o exponencial de base 2 do argumento

inline float exp2(float _X) restrict(amp);

inline double exp2(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o exponencial de base 2 do argumento

exp2f

Calcula o exponencial de base 2 do argumento

inline float exp2f(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o exponencial de base 2 do argumento

fabs

Devolve o valor absoluto do argumento

inline float fabs(float _X) restrict(amp);

inline double fabs(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor absoluto do argumento

fabsf

Devolve o valor absoluto do argumento

inline float fabsf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor absoluto do argumento

fdim

Calcula a diferença positiva entre os argumentos.

inline float fdim(
   float _X,
   float _Y
) restrict(amp);
inline double fdim(
   double _X,
   double _Y
) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

A diferença entre _X e _Y se _X for maior que _Y; caso contrário, +0.

fdimf

Calcula a diferença positiva entre os argumentos.

inline float fdimf(
   float _X,
   float _Y
) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

A diferença entre _X e _Y se _X for maior que _Y; caso contrário, +0.

floor

Calcula o piso do argumento

inline float floor(float _X) restrict(amp);

inline double floor(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o piso do argumento

floorf

Calcula o piso do argumento

inline float floorf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o piso do argumento

fma

Calcula o produto do primeiro e segundo argumentos especificados e, em seguida, adiciona o terceiro argumento especificado ao resultado; Todo o cálculo é realizado como uma única operação.

inline float fma(
   float _X,
   float _Y,
   float _Z
) restrict(amp);

inline double fma(
   double _X,
   double _Y,
   double _Z
) restrict(amp);

Parameters

_X
O primeiro argumento de ponto flutuante.

_Y
O segundo argumento de ponto flutuante.

_Z
O terceiro argumento de vírgula flutuante.

Return Value

O resultado da expressão (_X * _Y) + _Z. Todo o cálculo é realizado como uma única operação; ou seja, as subexpressões são calculadas com precisão infinita, e apenas o resultado final é arredondado.

fmaf

Calcula o produto do primeiro e segundo argumentos especificados e, em seguida, adiciona o terceiro argumento especificado ao resultado; Todo o cálculo é realizado como uma única operação.

inline float fmaf(
   float _X,
   float _Y,
   float _Z
) restrict(amp);

Parameters

_X
O primeiro argumento de ponto flutuante.

_Y
O segundo argumento de ponto flutuante.

_Z
O terceiro argumento de vírgula flutuante.

Return Value

O resultado da expressão (_X * _Y) + _Z. Todo o cálculo é realizado como uma única operação; ou seja, as subexpressões são calculadas com precisão infinita, e apenas o resultado final é arredondado.

fmax

Determinar o valor numérico máximo dos argumentos

inline float fmax(
    float _X,
    float _Y) restrict(amp);

inline double fmax(
    double _X,
    double _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Retornar o valor numérico máximo dos argumentos

fmaxf

Determinar o valor numérico máximo dos argumentos

inline float fmaxf(
    float _X,
    float _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Retornar o valor numérico máximo dos argumentos

fmin

Determinar o valor numérico mínimo dos argumentos

inline float fmin(
    float _X,
    float _Y) restrict(amp);

inline double fmin(
    double _X,
    double _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Retornar o valor numérico mínimo dos argumentos

fminf

Determinar o valor numérico mínimo dos argumentos

inline float fminf(
    float _X,
    float _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Retornar o valor numérico mínimo dos argumentos

Função fmod (C++ AMP)

Calcula o restante do primeiro argumento especificado dividido pelo segundo argumento especificado.

inline float fmod(
    float _X,
    float _Y) restrict(amp);

inline double fmod(
    double _X,
    double _Y) restrict(amp);

Parameters

_X
O primeiro argumento de ponto flutuante.

_Y
O segundo argumento de ponto flutuante.

Return Value

The remainder of _X divided by _Y; that is, the value of _X - _Yn, where n is a whole integer such that the magnitude of _X - _Yn is less than the magnitude of _Y.

fmodf

Calcula o restante do primeiro argumento especificado dividido pelo segundo argumento especificado.

inline float fmodf(
    float _X,
    float _Y) restrict(amp);

Parameters

_X
O primeiro argumento de ponto flutuante.

_Y
O segundo argumento de ponto flutuante.

Return Value

The remainder of _X divided by _Y; that is, the value of _X - _Yn, where n is a whole integer such that the magnitude of _X - _Yn is less than the magnitude of _Y.

fpclassify

Classifica o valor do argumento como NaN, infinito, normal, subnormal, zero

inline int fpclassify(float _X) restrict(amp);

inline int fpclassify(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna o valor da macro de classificação numérica apropriada ao valor do argumento.

frexp

Obtém a mantissa e expoente da _X

inline float frexp(
    float _X,
    _Out_ int* _Exp) restrict(amp);

inline double frexp(
    double _X,
    _Out_ int* _Exp) restrict(amp);

Parameters

_X
Floating-point value

_Exp
Devolve o expoente inteiro de _X em valor de vírgula flutuante

Return Value

Devolve a mantissa _X

frexpf

Obtém a mantissa e expoente da _X

inline float frexpf(
    float _X,
    _Out_ int* _Exp) restrict(amp);

Parameters

_X
Floating-point value

_Exp
Devolve o expoente inteiro de _X em valor de vírgula flutuante

Return Value

Devolve a mantissa _X

hypot

Calcula a raiz quadrada da soma dos quadrados de _X e _Y

inline float hypot(
    float _X,
    float _Y) restrict(amp);

inline double hypot(
    double _X,
    double _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Devolve a raiz quadrada da soma dos quadrados de _X e _Y

hypotf

Calcula a raiz quadrada da soma dos quadrados de _X e _Y

inline float hypotf(
    float _X,
    float _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Devolve a raiz quadrada da soma dos quadrados de _X e _Y

ilogb

Extraia o expoente de _X como um valor int assinado

inline int ilogb(float _X) restrict(amp);

inline int ilogb(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o expoente de _X como um valor int assinado

ilogbf

Extraia o expoente de _X como um valor int assinado

inline int ilogbf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o expoente de _X como um valor int assinado

isfinite

Determina se o argumento tem um valor finito

inline int isfinite(float _X) restrict(amp);

inline int isfinite(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna um valor diferente de zero se e somente se o argumento tiver um valor finito

isinf

Determina se o argumento é um infinito

inline int isinf(float _X) restrict(amp);

inline int isinf(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna um valor diferente de zero se e somente se o argumento tiver um valor infinito

isnan

Determina se o argumento é um NaN

inline int isnan(float _X) restrict(amp);

inline int isnan(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna um valor diferente de zero se e somente se o argumento tiver um valor NaN

isnormal

Determina se o argumento é normal

inline int isnormal(float _X) restrict(amp);

inline int isnormal(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna um valor diferente de zero se e somente se o argumento tiver um valor normal

ldexp

Calcula um número real a partir da mantissa e expoente especificados.

inline float ldexp(
    float _X,
    int _Exp) restrict(amp);

inline double ldexp(
    double _X,
    double _Exp) restrict(amp);

Parameters

_X
Valor de vírgula flutuante, mantissa

_Exp
Valor inteiro, expoente

Return Value

Devolve _X * 2^_Exp

ldexpf

Calcula um número real a partir da mantissa e expoente especificados.

inline float ldexpf(
    float _X,
    int _Exp) restrict(amp);

Parameters

_X
Valor de vírgula flutuante, mantissa

_Exp
Valor inteiro, expoente

Return Value

Devolve _X * 2^_Exp

lgamma

Calcula o logaritmo natural do valor absoluto de gama do argumento

inline float lgamma(
    float _X,
    _Out_ int* _Sign) restrict(amp);

inline double lgamma(
    double _X,
    _Out_ int* _Sign) restrict(amp);

Parameters

_X
Floating-point value

_Sign
Devolve o sinal

Return Value

Devolve o logaritmo natural do valor absoluto de gama do argumento

lgammaf

Calcula o logaritmo natural do valor absoluto de gama do argumento

inline float lgammaf(
    float _X,
    _Out_ int* _Sign) restrict(amp);

Parameters

_X
Floating-point value

_Sign
Devolve o sinal

Return Value

Devolve o logaritmo natural do valor absoluto de gama do argumento

registar

Calcula o logaritmo base-e do argumento

inline float log(float _X) restrict(amp);

inline double log(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o logaritmo base-e do argumento

log10

Calcula o logaritmo de base 10 do argumento

inline float log10(float _X) restrict(amp);

inline double log10(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o logaritmo de base 10 do argumento

log10f

Calcula o logaritmo de base 10 do argumento

inline float log10f(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o logaritmo de base 10 do argumento

log1p

Calcula o logaritmo base-e de 1 mais o argumento

inline float log1p(float _X) restrict(amp);

inline double log1p(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o logaritmo base-e de 1 mais o argumento

log1pf

Calcula o logaritmo base-e de 1 mais o argumento

inline float log1pf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o logaritmo base-e de 1 mais o argumento

log2

Calcula o logaritmo de base 2 do argumento

inline float log2(float _X) restrict(amp);

inline double log2(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o logaritmo de base 10 do argumento

log2f

Calcula o logaritmo de base 2 do argumento

inline float log2f(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o logaritmo de base 10 do argumento

logb

Extrai o expoente de _X, como um valor inteiro assinado no formato de ponto flutuante

inline float logb(float _X) restrict(amp);

inline double logb(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o expoente assinado de _X

logbf

Extrai o expoente de _X, como um valor inteiro assinado no formato de ponto flutuante

inline float logbf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o expoente assinado de _X

logf

Calcula o logaritmo base-e do argumento

inline float logf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o logaritmo base-e do argumento

modf

Divide o argumento especificado em partes fracionárias e inteiras.

inline float modf(
    float _X,
    _Out_ float* _Iptr) restrict(amp);

inline double modf(
    double _X,
    _Out_ double* _Iptr) restrict(amp);

Parameters

_X
Floating-point value

_Iptr
[saídas] A parte inteira de _X, como um valor de ponto flutuante.

Return Value

A parte fracionada assinada de _X.

modff

Divide o argumento especificado em partes fracionárias e inteiras.

inline float modff(
    float _X,
    _Out_ float* _Iptr) restrict(amp);

Parameters

_X
Floating-point value

_Iptr
A parte inteira de _X, como um valor de ponto flutuante.

Return Value

Devolve a parte fracionada assinada de _X.

nan

Retorna um NaN silencioso

inline double nan(int _X) restrict(amp);

Parameters

_X
Integer value

Return Value

Devolve um NaN silencioso, se disponível, com o conteúdo indicado no _X

nanf

Retorna um NaN silencioso

inline float nanf(int _X) restrict(amp);

Parameters

_X
Integer value

Return Value

Devolve um NaN silencioso, se disponível, com o conteúdo indicado no _X

nearbyint

Arredonda o argumento para um valor inteiro no formato de ponto flutuante, usando a direção de arredondamento atual.

inline float nearbyint(float _X) restrict(amp);

inline double nearbyint(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor inteiro arredondado.

nearbyintf

Arredonda o argumento para um valor inteiro no formato de ponto flutuante, usando a direção de arredondamento atual.

inline float nearbyintf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor inteiro arredondado.

nextafter

Determine o próximo valor representável, no tipo da função, após _X na direção de _Y

inline float nextafter(
    float _X,
    float _Y) restrict(amp);

inline double nextafter(
    double _X,
    double _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Devolve o próximo valor representável, no tipo da função, depois de _X na direção de _Y

nextafterf

Determine o próximo valor representável, no tipo da função, após _X na direção de _Y

inline float nextafterf(
    float _X,
    float _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Devolve o próximo valor representável, no tipo da função, depois de _X na direção de _Y

phi

Devolve a função de distribuição cumulativa do argumento

inline float phi(float _X) restrict(amp);

inline double phi(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a função de distribuição cumulativa do argumento

phif

Devolve a função de distribuição cumulativa do argumento

inline float phif(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a função de distribuição cumulativa do argumento

pow

Calcula _X elevado ao poder de _Y

inline float pow(
    float _X,
    float _Y) restrict(amp);

inline double pow(
    double _X,
    double _Y) restrict(amp);

Parameters

_X
Valor de vírgula flutuante, base

_Y
Valor de vírgula flutuante, expoente

Return Value

powf

Calcula _X elevado ao poder de _Y

inline float powf(
    float _X,
    float _Y) restrict(amp);

Parameters

_X
Valor de vírgula flutuante, base

_Y
Valor de vírgula flutuante, expoente

Return Value

probit

Devolve a função de distribuição cumulativa inversa do argumento

inline float probit(float _X) restrict(amp);

inline double probit(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a função de distribuição cumulativa inversa do argumento

probitf

Devolve a função de distribuição cumulativa inversa do argumento

inline float probitf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a função de distribuição cumulativa inversa do argumento

rcbrt

Retorna a recíproca da raiz do cubo do argumento

inline float rcbrt(float _X) restrict(amp);

inline double rcbrt(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna a recíproca da raiz do cubo do argumento

rcbrtf

Retorna a recíproca da raiz do cubo do argumento

inline float rcbrtf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Retorna a recíproca da raiz do cubo do argumento

remainder

Calcula o restante: _X _Y REM

inline float remainder(
    float _X,
    float _Y) restrict(amp);

inline double remainder(
    double _X,
    double _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Devolve _X _Y REM

remainderf

Calcula o restante: _X _Y REM

inline float remainderf(
    float _X,
    float _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Devolve _X _Y REM

remquo

Calcula o restante do primeiro argumento especificado dividido pelo segundo argumento especificado. Também calcula o quociente do significado do primeiro argumento especificado dividido pelo significante do segundo argumento especificado e retorna o quociente usando o local especificado no terceiro argumento.

inline float remquo(
    float _X,
    float _Y,
    _Out_ int* _Quo) restrict(amp);

inline double remquo(
    double _X,
    double _Y,
    _Out_ int* _Quo) restrict(amp);

Parameters

_X
O primeiro argumento de ponto flutuante.

_Y
O segundo argumento de ponto flutuante.

_Quo
[saídas] O endereço de um inteiro que é usado para retornar o quociente dos bits fracionários de _X divididos pelos bits fracionários de _Y.

Return Value

Devolve o restante de _X dividido por _Y.

remquof

Calcula o restante do primeiro argumento especificado dividido pelo segundo argumento especificado. Também calcula o quociente do significado do primeiro argumento especificado dividido pelo significante do segundo argumento especificado e retorna o quociente usando o local especificado no terceiro argumento.

inline float remquof(
    float _X,
    float _Y,
    _Out_ int* _Quo) restrict(amp);

Parameters

_X
O primeiro argumento de ponto flutuante.

_Y
O segundo argumento de ponto flutuante.

_Quo
[saídas] O endereço de um inteiro que é usado para retornar o quociente dos bits fracionários de _X divididos pelos bits fracionários de _Y.

Return Value

Devolve o restante de _X dividido por _Y.

arrendondar

Arredonda _X para o número inteiro mais próximo

inline float round(float _X) restrict(amp);

inline double round(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o número inteiro mais próximo de _X

roundf

Arredonda _X para o número inteiro mais próximo

inline float roundf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o número inteiro mais próximo de _X

rsqrt

Devolve o recíproco da raiz quadrada do argumento

inline float rsqrt(float _X) restrict(amp);

inline double rsqrt(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o recíproco da raiz quadrada do argumento

rsqrtf

Devolve o recíproco da raiz quadrada do argumento

inline float rsqrtf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o recíproco da raiz quadrada do argumento

scalb

Multiplica _X por FLT_RADIX ao poder _Y

inline float scalb(
    float _X,
    float _Y) restrict(amp);

inline double scalb(
    double _X,
    double _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Devoluções _X * (FLT_RADIX ^ _Y)

scalbf

Multiplica _X por FLT_RADIX ao poder _Y

inline float scalbf(
    float _X,
    float _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Floating-point value

Return Value

Devoluções _X * (FLT_RADIX ^ _Y)

scalbn

Multiplica _X por FLT_RADIX ao poder _Y

inline float scalbn(
    float _X,
    int _Y) restrict(amp);

inline double scalbn(
    double _X,
    int _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Integer value

Return Value

Devoluções _X * (FLT_RADIX ^ _Y)

scalbnf

Multiplica _X por FLT_RADIX ao poder _Y

inline float scalbnf(
    float _X,
    int _Y) restrict(amp);

Parameters

_X
Floating-point value

_Y
Integer value

Return Value

Devoluções _X * (FLT_RADIX ^ _Y)

signbit

Determina se o sinal de _X é negativo

inline int signbit(float _X) restrict(amp);

inline int signbit(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve um valor diferente de zero se e apenas se o sinal de _X for negativo

signbitf

Determina se o sinal de _X é negativo

inline int signbitf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve um valor diferente de zero se e apenas se o sinal de _X for negativo

sin

Calcula o valor seno do argumento

inline float sin(float _X) restrict(amp);

inline double sin(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor seno do argumento

sinf

Calcula o valor seno do argumento

inline float sinf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor seno do argumento

sincos

Calcula o valor seno e cosseno de _X

inline void sincos(
    float _X,
    _Out_ float* _S,
    _Out_ float* _C) restrict(amp);

inline void sincos(
    double _X,
    _Out_ double* _S,
    _Out_ double* _C) restrict(amp);

Parameters

_X
Floating-point value

_S
Devolve o valor seno de _X

_C
Devolve o valor cosseno de _X

sincosf

Calcula o valor seno e cosseno de _X

inline void sincosf(
    float _X,
    _Out_ float* _S,
    _Out_ float* _C) restrict(amp);

Parameters

_X
Floating-point value

_S
Devolve o valor seno de _X

_C
Devolve o valor cosseno de _X

sinh

Calcula o valor seno hiperbólico do argumento

inline float sinh(float _X) restrict(amp);

inline double sinh(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor senoidal hiperbólico do argumento

sinhf

Calcula o valor seno hiperbólico do argumento

inline float sinhf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor senoidal hiperbólico do argumento

sinpi

Calcula o valor seno de pi * _X

inline float sinpi(float _X) restrict(amp);

inline double sinpi(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor seno de pi * _X

sinpif

Calcula o valor seno de pi * _X

inline float sinpif(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor seno de pi * _X

sqrt

Calcula a raiz squre do argumento

inline float sqrt(float _X) restrict(amp);

inline double sqrt(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a raiz squre do argumento

sqrtf

Calcula a raiz squre do argumento

inline float sqrtf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve a raiz squre do argumento

tan

Calcula o valor tangente do argumento

inline float tan(float _X) restrict(amp);

inline double tan(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor tangente do argumento

tanf

Calcula o valor tangente do argumento

inline float tanf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor tangente do argumento

tanh

Calcula o valor tangente hiperbólico do argumento

inline float tanh(float _X) restrict(amp);

inline double tanh(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor tangente hiperbólico do argumento

tanhf

Calcula o valor tangente hiperbólico do argumento

inline float tanhf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor tangente hiperbólico do argumento

tanpi

Calcula o valor tangente de pi * _X

inline float tanpi(float _X) restrict(amp);

inline double tanpi(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor tangente de pi * _X

tanpif

Calcula o valor tangente de pi * _X

inline float tanpif(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o valor tangente de pi * _X

tgamma

Calcula a função gama de _X

inline float tgamma(float _X) restrict(amp);

inline double tgamma(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o resultado da função gama de _X

tgammaf

Calcula a função gama de _X

inline float tgammaf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o resultado da função gama de _X

trunc

Trunca o argumento para o componente inteiro

inline float trunc(float _X) restrict(amp);

inline double trunc(double _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o componente inteiro do argumento

truncf

Trunca o argumento para o componente inteiro

inline float truncf(float _X) restrict(amp);

Parameters

_X
Floating-point value

Return Value

Devolve o componente inteiro do argumento

See also

Concurrency::precise_math Namespace