std::exp2
De cppreference.com
<metanoindex/>
<tbody> </tbody>| Definido no cabeçalho <cmath>
|
||
double exp2( double n ); |
(desde C++11) | |
float exp2( float n ); |
(desde C++11) | |
long double exp2( long double n ); |
(desde C++11) | |
double exp2( Integral n ); |
(desde C++11) | |
Calcula 2 elevado à
n poder dadoOriginal:
Computes 2 raised to the given power
nThe 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
| n | - | 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. |
Valor de retorno
2 elevado à
n (i.e. 2n)Original:
2 raised to the
n (i.e. 2n)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 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.
