◐ Shell
clean mode source ↗

std::log1p - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Elemento definito nell'header

<cmath>

float log1p( float arg );

(dal C++11)

double log1p( double arg );

(dal C++11)

long double log1p( long double arg );

(dal C++11)

double log1p( Integral arg );

(dal C++11)

Calcola la naturale (base e) logaritmo 1+arg. Questa funzione è più preciso l'espressione std::log(1+arg) arg se è vicino a zero.

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.

Parametri

arg -

valore in virgola mobile

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.

Valore di ritorno

ln(1+arg)

Errore di dominio si verifica se arg è negativo. NAN viene restituito in questo 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.

Campo errore si verifica se è arg 0. -HUGE_VAL viene restituito in questo caso.

Original:

Range error occurs if arg is 0. -HUGE_VAL 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.

Vedi anche

calcola naturale (base e) logaritmo (alla 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.


(funzione) [modifica]

(C++11)

ritorna e elevato alla potenza data, meno 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.


(funzione) [modifica]

calcola comune (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.


(funzione) [modifica]

(C++11)

base 2 logaritmo del numero dato

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.


(funzione) [modifica]