std::ldexp
Aus cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] 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. |
[Bearbeiten] 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.
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] 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) | |
(C++11) (C++11) |
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) |