◐ Shell
clean mode source ↗

std::ldexp – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<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 );

(seit C++11)

Multipliziert ein Gleitkommawert arg mit 2 hoch Stromversorgung 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.

Parameter

arg -

Floating-Point-Wert

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 -

Integerwert

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.

Rückgabewert

Renditen x×2exp

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.

Wenn das Ergebnis zu groß für den zugrunde liegenden Typ, tritt Bereich Fehler-und HUGE_VAL zurückgegeben .

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.

Siehe auch

zersetzt eine Zahl in Mantisse und einer Leistung von 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.


(Funktion) [edit]

multipliziert eine Zahl durch FLT_RADIX potenziert

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.


(Funktion) [edit]