Espaços nominais
Variantes
Acções

Common mathematical functions

Da cppreference.com
< cpp‎ | numeric


 
 
Biblioteca numéricos
Funções matemáticas comuns
De ponto flutuante ambiente
Números complexos
Matrizes numéricas
Pseudo-aleatório de geração de números
Tempo de compilação aritmética racional (C++11)
Genéricos operações numéricas
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iota(C++11)
accumulate
inner_product
adjacent_difference
partial_sum
 
Funções matemáticas comuns
Funções
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Operações básicas
Original:
Basic operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
remainder(C++11)
remquo(C++11)
fma(C++11)
fmax(C++11)
fmin(C++11)
fdim(C++11)
nan
nanf
nanl
(C++11)
(C++11)
(C++11)
Funções exponenciais
Original:
Exponential functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
exp
exp2(C++11)
expm1(C++11)
log
log10
log1p(C++11)
log2(C++11)
Funções de poder
Original:
Power functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
sqrt
cbrt(C++11)
hypot(C++11)
pow
Funções trigonométricas e hiperbólicas
Original:
Trigonometric and hyperbolic functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
sinh
cosh
tanh
asinh(C++11)
acosh(C++11)
atanh(C++11)
Erro e funções gamma
Original:
Error and gamma functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
erf(C++11)
erfc(C++11)
lgamma(C++11)
tgamma(C++11)
Número inteiro mais próximo de operações de ponto flutuante
Original:
Nearest integer floating point operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ceil
floor
round
lround
llround
(C++11)
(C++11)
(C++11)
trunc(C++11)
nearbyint(C++11)
rint
lrint
llrint
(C++11)
(C++11)
(C++11)
Flutuando funções de manipulação de pontos
Original:
Floating point manipulation functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ldexp
scalbn
scalbln
(C++11)
(C++11)
ilogb(C++11)
logb(C++11)
frexp
modf
nextafter
nexttoward
(C++11)
(C++11)
copysign(C++11)
Classificação / Comparação
Original:
Classification/Comparison
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
fpclassify(C++11)
isfinite(C++11)
isinf(C++11)
isnan(C++11)
isnormal(C++11)
signbit(C++11)
isgreater(C++11)
isgreaterequal(C++11)
isless(C++11)
islessequal(C++11)
islessgreater(C++11)
isunordered(C++11)
Constantes de macros
Original:
Macro constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
FP_NORMAL
FP_SUBNORMAL
FP_ZERO
FP_INFINITE
FP_NAN
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
 

Índice

[editar] Funções

Defined in header <cmath>
Operações básicas
Original:
Basic operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
calcula o valor absoluto de um valor integral (|x|)
Original:
computes absolute value of an integral value (|x|)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
valor absoluto de um valor de ponto flutuante (|x|)
Original:
absolute value of a floating point value (|x|)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
o quociente eo resto da divisão inteira
Original:
the quotient and remainder of integer division
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
restante da operação de ponto flutuante de divisão
Original:
remainder of the floating point division operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
assinado restante da operação de divisão
Original:
signed remainder of the division operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
assinado restante, bem como os três últimos bits da operação de divisão
Original:
signed remainder as well as the three last bits of the division operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
operação de multiplicar-adicionar fundido
Original:
fused multiply-add operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
maior de dois valores de ponto flutuante
Original:
larger of two floating point values
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
menor dos dois valores de ponto flutuante
Original:
smaller of two floating point values
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
diferença positiva de dois valores de ponto flutuante (max(0, x-y))
Original:
positive difference of two floating point values (max(0, x-y))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
(C++11)
(C++11)
não-número (NaN)
Original:
not-a-number (NaN)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Funções exponenciais
Original:
Exponential functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
retorna e elevado à potência dada (ex)
Original:
returns e raised to the given power (ex)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
retorna 2 elevado à potência dada (2x)
Original:
returns 2 raised to the given power (2x)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
retorna e elevado à potência dada, menos um (ex-1)
Original:
returns e raised to the given power, minus one (ex-1)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
calcula natural (base e) logaritmo (de base e) (ln(x))
Original:
computes natural (base e) logarithm (to base e) (ln(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
calcula comum (base 10) logaritmo (log10(x))
Original:
computes common (base 10) logarithm (log10(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
logaritmo natural (a base e) de 1 mais o número dado
Original:
natural logarithm (to base e) of 1 plus the given number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
logaritmo base 2 do número dado
Original:
base 2 logarithm of the given number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Funções de poder
Original:
Power functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Calcula a raiz quadrada (x)
Original:
computes square root (x)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
Calcula a raiz cúbica (3x)
Original:
computes cubic root (3x)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
calcula a raiz quadrada da soma dos quadrados dos dois números (x2
+y2
)
Original:
computes square root of the sum of the squares of two given numbers (x2
+y2
)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
levanta uma série para o poder dado (xy)
Original:
raises a number to the given power (xy)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Funções trigonométricas
Original:
Trigonometric functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
calcula seno (sin(x))
Original:
computes sine (sin(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
calcula cosseno (cos(x))
Original:
computes cosine (cos(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
calcula tangente (tan(x))
Original:
computes tangent (tan(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
calcula arco seno (arcsin(x))
Original:
computes arc sine (arcsin(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
calcula arco cosseno (arccos(x))
Original:
computes arc cosine (arccos(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
calcula do arco tangente (arctan(x))
Original:
computes arc tangent (arctan(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
arco tangente, usando sinais para determinar quadrantes
Original:
arc tangent, using signs to determine quadrants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Funções hiperbólicas
Original:
Hyperbolic functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
calcula seno hiperbólico (sh(x))
Original:
computes hyperbolic sine (sh(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
calcula cosseno hiperbólico (ch(x))
Original:
computes hyperbolic cosine (ch(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
tangente hiperbólica
Original:
hyperbolic tangent
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
arco seno hiperbólico
Original:
hyperbolic arc sine
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
hiperbólica arco cosseno
Original:
hyperbolic arc cosine
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
arco tangente hiperbólica
Original:
hyperbolic arc tangent
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Erro e funções gamma
Original:
Error and gamma functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
função de erro
Original:
error function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
função de erro complementar
Original:
complementary error function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
logaritmo natural da função gama
Original:
natural logarithm of the gamma function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
gama de funções
Original:
gamma function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Número inteiro mais próximo de operações de ponto flutuante
Original:
Nearest integer floating point operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
número inteiro mais próximo, pelo menos, o valor dado
Original:
nearest integer not less than the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
número inteiro mais próximo não maior do que o valor especificado
Original:
nearest integer not greater than the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
número inteiro mais próximo não maior em magnitude do que o valor dado
Original:
nearest integer not greater in magnitude than the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
(C++11)
(C++11)
número inteiro mais próximo de arredondamento, de zero em casos meio
Original:
nearest integer, rounding away from zero in halfway cases
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
número inteiro mais próximo utilizando o modo de arredondamento correntes
Original:
nearest integer using current rounding mode
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
(C++11)
(C++11)
número inteiro mais próximo usando o modo de arredondamento atual com exceção
se o resultado é diferente
Original:
nearest integer using current rounding mode with
exception if the result differs
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Flutuando funções de manipulação de pontos
Original:
Floating point manipulation functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
decompõe um número em significand e um poder de 2
Original:
decomposes a number into significand and a power of 2
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
multiplica um número por 2 elevado a uma potência
Original:
multiplies a number by 2 raised to a power
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
decompõe um número em partes inteira e fracionária
Original:
decomposes a number into integer and fractional parts
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
(C++11)
multiplica um número por FLT_RADIX elevado a uma potência
Original:
multiplies a number by FLT_RADIX raised to a power
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
extrai expoente do número
Original:
extracts exponent of the number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
extrai expoente do número
Original:
extracts exponent of the number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
(C++11)
valor próximo ponto flutuante representável para o valor fornecido
Original:
next representable floating point value towards the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
copia o sinal de um valor de ponto flutuante
Original:
copies the sign of a floating point value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Classificação e comparação
Original:
Classification and comparison
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
categoriza o valor determinado ponto flutuante
Original:
categorizes the given floating point value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
Verifica se o número dado tem um valor finito
Original:
checks if the given number has finite value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
verifica se o número dado é infinito
Original:
checks if the given number is infinite
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
Verifica se o número dado é NaN
Original:
checks if the given number is NaN
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
verifica se o número dado é normal
Original:
checks if the given number is normal
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
Verifica se o número dado é negativo
Original:
checks if the given number is negative
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
verifica se o argumento de ponto flutuante primeiro é maior do que o segundo
Original:
checks if the first floating-point argument is greater than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Verifica se o argumento de ponto flutuante primeira é maior ou igual do que o segundo
Original:
checks if the first floating-point argument is greater or equal than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
(C++11)
verifica se o argumento de ponto flutuante primeiro é menor do que o segundo
Original:
checks if the first floating-point argument is less than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Verifica se o argumento de ponto flutuante primeira é menor ou igual do que o segundo
Original:
checks if the first floating-point argument is less or equal than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
verifica se o argumento de ponto flutuante primeiro é menor ou maior do que o segundo
Original:
checks if the first floating-point argument is less or greater than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]
Verifica se dois valores de ponto flutuante são desordenadas
Original:
checks if two floating-point values are unordered
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) [edit]

[editar] Tipos

Defined in header <cmath>
float_t
mais eficiente do tipo de ponto flutuante, pelo menos, tão largo quanto float
Original:
most efficient floating-point type at least as wide as float
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
double_t
mais eficiente do tipo de ponto flutuante, pelo menos, tão largo quanto double
Original:
most efficient floating-point type at least as wide as double
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Defined in header <cstdlib>
div_t
tipo de estrutura, o retorno da função std::div
Original:
structure type, return of the std::div function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ldiv_t
tipo de estrutura, o retorno da função std::ldiv
Original:
structure type, return of the std::ldiv function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
lldiv_t
tipo de estrutura, o retorno da função std::lldiv
Original:
structure type, return of the std::lldiv function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Defined in header <cinttypes>
imaxdiv_t
tipo de estrutura, o retorno da função std::imaxdiv
Original:
structure type, return of the std::imaxdiv function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Constantes de macros

Defined in header <cmath>
indica o valor de estouro de float, double e long double respectivamente
Original:
indicates the overflow value for float, double and long double respectively
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(macro constante) [edit]
(C++11)
avaliada como infinito positivo ou o valor garantido para estourar um float
Original:
evaluates to positive infinity or the value guaranteed to overflow a float
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(macro constante)
(C++11)
avalia um NaN tranquila de float tipo
Original:
evaluates to a quiet NaN of type float
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(macro constante)
define o mecanismo de tratamento de erros usado pelas funções matemáticas comuns
Original:
defines the error handling mechanism used by the common mathematical functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(macro constante) [edit]
Classificação
Original:
Classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
indica uma categoria de ponto flutuante
Original:
indicates a floating-point category
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(macro constante) [edit]
Defined in header <cfloat>