std::expm1
Da cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido no cabeçalho <cmath>
|
||
float expm1( float arg ); |
(desde C++11) | |
double expm1( double arg ); |
(desde C++11) | |
long double expm1( long double arg ); |
(desde C++11) | |
double expm1( Integral arg ); |
(desde C++11) | |
Calcula a e (número de Euler,
2.7182818
) elevado à arg
poder dado, menos 1. Esta função é mais preciso do que a expressão std::exp(arg)-1 se arg
está perto de zero.Original:
Computes the e (Euler's number,
2.7182818
) raised to the given power arg
, minus 1. This function is more accurate than the expression std::exp(arg)-1 if arg
is close to zero.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Parâmetros
arg | - | flutuando valor de ponto
Original: 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. |
[editar] Valor de retorno
earg
-1
Se o resultado é muito grande para o tipo de base, o erro ocorre gama e HUGE_VAL é retornado.
Original:
If the result is too large for the underlying type, range error occurs and HUGE_VAL is returned.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Veja também
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) | |
(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) |
(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) |