std::log1p
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 log1p( float arg ); |
(desde C++11) | |
double log1p( double arg ); |
(desde C++11) | |
long double log1p( long double arg ); |
(desde C++11) | |
double log1p( Integral arg ); |
(desde C++11) | |
Calcula el natural (base e) logaritmo de 1+arg. Esta función es más precisa que la expresión std::log(1+arg) si
arg
es cercana a cero .Original:
Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression std::log(1+arg) 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
ln(1+arg)
Domain error se produce si
arg
es negativo. NAN se devuelve en ese caso .Original:
Domain error occurs if
arg
is negative. NAN is returned in that case.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.
Rango de error se produce si
arg
es 0. -HUGE_VAL se devuelve en ese caso . Original:
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
calcula natural (base e) logaritmo (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. (función) | |
(C++11) |
regresa e elevado a la potencia dada, menos uno (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. (función) |
calcula común (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. (función) | |
(C++11) |
logaritmo en base 2 del 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. (función) |