std::scalbn, std::scalbln
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 scalbn(float x, int exp ); | (seit C++11) | |
double scalbn(double x, int exp ); | (seit C++11) | |
longdouble scalbn(longdouble x, int exp ); | (seit C++11) | |
double scalbn( Integral x, int exp ); | (seit C++11) | |
float scalbln(float x, long exp ); | (seit C++11) | |
double scalbln(double x, long exp ); | (seit C++11) | |
longdouble scalbln(longdouble x, long exp ); | (seit C++11) | |
double scalbln( Integral x, long exp ); | (seit C++11) | |
Multipliziert einen Gleitkommawert
x
durch FLT_RADIX erhöht die Macht exp
. Auf binäres System ist äquivalent zu ldexp()
Original:
Multiplies an floating point value
x
by FLT_RADIX raised to power exp
. On binary system it is equivalent to ldexp()
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×FLT_RADIXexp
Original:
returns
x×FLT_RADIXexp
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) | |
multipliziert eine Zahl durch 2 potenziert Original: multiplies a number by 2 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) |