◐ Shell
clean mode source ↗

std::exp2 - 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>

double exp2( double n );

(dal C++11)

float exp2( float n );

(dal C++11)

long double exp2( long double n );

(dal C++11)

double exp2( Integral n );

(dal C++11)

Calcola 2 elevato alla n potere dato

Original:

Computes 2 raised to the given power n

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parametri

n -

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

2 elevato alla n (cioè 2n)

Original:

2 raised to the n (i.e. 2n)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Se il risultato è troppo grande per il tipo di fondo, l'errore si verifica e gamma HUGE_VAL viene restituito.

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.

Vedi anche

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


(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]

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]

solleva un numero alla potenza data (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.


(funzione) [modifica]