# Common mathematical functions

< c‎ | numeric

C
 Linguagem Digite apoio Gerenciamento de memória dinâmica De tratamento de erros Utilidades do programa Utilitários de data e hora Biblioteca cordas Algoritmos Numéricos Entrada / saída de apoio Suporte de localização Apoio discussão (C11) Operações atômicas (C11)

Numéricos
 Funções matemáticas comuns De ponto flutuante ambiente Complex number arithmetics Geração de números aleatórios Tipo genérico de matemática

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.
 abslabsllabsimaxabs (C99)
 fabs
 divldivlldivimaxdiv (C99)
 fmod
 remainder (C99)
 remquo (C99)
 fma (C99)
 fmax (C99)
 fmin (C99)
 fdim (C99)
 nannanfnanl (C99)(C99)(C99)
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 (C99)
 expm1 (C99)
 log
 log10
 log1p (C99)
 log2 (C99)
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 (C99)
 hypot (C99)
 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.
 sin
 cos
 tan
 asin
 acos
 atan
 atan2
 sinh
 cosh
 tanh
 asinh (C99)
 acosh (C99)
 atanh (C99)
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 (C99)
 erfc (C99)
 lgamma (C99)
 tgamma (C99)
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
 roundlroundllround (C99)(C99)(C99)
 trunc (C99)
 nearbyint (C99)
 rintlrintllrint (C99)(C99)(C99)
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
 scalbnscalbln (C99)(C99)
 ilogb (C99)
 logb (C99)
 frexp
 modf
 nextafternexttoward (C99)(C99)
 copysign (C99)
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.
 fpclassify (C99)
 isfinite (C99)
 isinf (C99)
 isnan (C99)
 isnormal (C99)
 signbit (C99)
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.
 HUGE_VALFHUGE_VALHUGE_VALL (C99)(C99)
 FP_NORMALFP_SUBNORMALFP_ZEROFP_INFINITEFP_NAN (C99)(C99)(C99)(C99)(C99)

## Índice

### [editar]Funções

Defined in header `<math.h>`
##### Operações básicasOriginal: Basic operationsThe 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) 
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) 
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) 
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) 
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) 
(C99)
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) 
(C99)
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função) 
(C99)
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) 
(C99)
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) 
(C99)
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) 
(C99)
(C99)
(C99)
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) 
##### Funções exponenciaisOriginal: Exponential functionsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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) 
(C99)
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) 
(C99)
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) 
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) 
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) 
(C99)
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) 
(C99)
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) 
##### Funções de poderOriginal: Power functionsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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) 
(C99)
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) 
(C99)
+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) 
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) 
##### Funções trigonométricasOriginal: Trigonometric functionsThe 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) 
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) 
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) 
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) 
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) 
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) 
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) 
##### Funções hiperbólicasOriginal: Hyperbolic functionsThe 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) 
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) 
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) 
(C99)
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) 
(C99)
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) 
(C99)
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) 
##### Erro e funções gammaOriginal: Error and gamma functionsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
(C99)
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) 
(C99)
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) 
(C99)
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) 
(C99)
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) 
##### Número inteiro mais próximo de operações de ponto flutuanteOriginal: Nearest integer floating point operationsThe 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) 
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) 
(C99)
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) 
(C99)
(C99)
(C99)
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) 
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) 
(C99)
(C99)
(C99)
número inteiro mais próximo usando o modo de arredondamento atual com exceção
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) 
##### Flutuando funções de manipulação de pontosOriginal: Floating point manipulation functionsThe 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) 
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) 
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) 
(C99)
(C99)
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) 
(C99)
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) 
(C99)
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) 
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) 
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) 
##### ClassificaçãoOriginal: ClassificationThe 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) 
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) 
(C99)
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) 
(C99)
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) 
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) 
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) 

### [editar]Constantes de macros

Defined in header `<math.h>`
indica o valor muito grande para ser representável (infinito) por float, double e long double respectivamente
Original:
indicates value too big to be representable (infinity) by 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) 
##### ClassificaçãoOriginal: ClassificationThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
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)