std::expm1
De 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. |
Defined in header <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 el e (el número de Euler,
2.7182818
) elevado a la potencia dada arg
, menos 1. Esta función es más precisa que la expresión std::exp(arg)-1 si arg
es cercana a cero .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 | - | flotando valor en puntos
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
Si el resultado es demasiado grande para el tipo subyacente, se produce error de rango y devuelve HUGE_VAL .
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] Ver también
regresa e elevado a la potencia 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. (función) | |
(C++11) |
logaritmo natural (a base e) de 1 más el 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. (función) |
(C++11) |
regresa 2 elevado a la potencia 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. (función) |