◐ Shell
clean mode source ↗

std::ldexp — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

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

<cmath>

float ldexp( float arg, int exp );

double ldexp( double arg, int exp );

long double ldexp( long double arg, int exp );

double ldexp( Integral arg, int exp );

(depuis C++11)

Multiplie un arg virgule flottante valeur par 2 élevé à la puissance exp .

Original:

Multiplies an floating point value arg by 2 raised to power exp.

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

Paramètres

arg -

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.

exp -

valeur entière

Original:

integer 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

x×2exp rendements

Original:

returns x×2exp

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

se décompose en un certain nombre mantisse et d'une puissance de 2

Original:

decomposes a number into significand and a power of 2

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


(fonction) [edit]

multiplie par un nombre FLT_RADIX élevé à une puissance

Original:

multiplies a number by FLT_RADIX raised to a power

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


(fonction) [edit]