std::scalbn, std::scalbln
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <cmath>
|
||
float scalbn( float x, int exp ); |
(dal C++11) | |
double scalbn( double x, int exp ); |
(dal C++11) | |
long double scalbn( long double x, int exp ); |
(dal C++11) | |
double scalbn( Integral x, int exp ); |
(dal C++11) | |
float scalbln( float x, long exp ); |
(dal C++11) | |
double scalbln( double x, long exp ); |
(dal C++11) | |
long double scalbln( long double x, long exp ); |
(dal C++11) | |
double scalbln( Integral x, long exp ); |
(dal C++11) | |
Moltiplica un valore in virgola mobile
x
da FLT_RADIX elevato a exp
potere. Il sistema binario è equivalente a 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.
[modifica] Parametri
arg | - | valore in virgola mobile
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 | - | valore intero
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. |
[modifica] Valore di ritorno
ritorna
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.
Se il risultato è troppo grande per il tipo di fondo, l'errore si verifica e gamma HUGE_VAL viene restituito.
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.
[modifica] Vedi anche
scompone un numero in significante e una potenza di 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. (funzione) | |
moltiplica un numero per 2 elevato a una potenza 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. (funzione) |