std::ldexp
De cppreference.com
<metanoindex/>
<tbody> </tbody>| Definido no cabeçalho <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 ); |
(desde C++11) | |
Multiplica um
arg valor de ponto flutuante por 2 elevado à potência 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.
Parâmetros
| arg | - | flutuando valor de ponto
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 | - | valor inteiro
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. |
Valor de retorno
x×2exp retornosOriginal:
returns
x×2expThe 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 o resultado é muito grande para o tipo de base, o erro ocorre gama e HUGE_VAL é retornado.
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.
