◐ Shell
clean mode source ↗

std::ldexp - cppreference.com

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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Elemento definito nell'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 );

(dal C++11)

Moltiplica un galleggiante arg valore in punti da 2 elevato alla potenza 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.

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.

Valore di ritorno

ritorna 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.

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.

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) [modifica]

moltiplica un numero per FLT_RADIX elevato a una potenza

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.


(funzione) [modifica]