◐ Shell
clean mode source ↗

std::exp2 — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Déclaré dans l'en-tête

<cmath>

double exp2( double n );

(depuis C++11)

float exp2( float n );

(depuis C++11)

long double exp2( long double n );

(depuis C++11)

double exp2( Integral n );

(depuis C++11)

Calcule 2 élevé à la puissance donnée n

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.

Paramètres

n -

valeur du point flottant

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.

Retourne la valeur

2 élevé à la n (i.e. 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.

Si le résultat est trop grand pour le type sous-jacent, une erreur d'intervalle se produit et HUGE_VAL est retourné .

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.

Voir aussi

retours e à la puissance donnée (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.


(fonction) [edit]

(C++11)

logarithme en base 2 d'un nombre donné

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.


(fonction) [edit]

calcule naturel (base e) logarithme (de 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.


(fonction) [edit]

soulève un certain nombre à la puissance donnée (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.


(fonction) [edit]