std::sqrt
De cppreference.com
<metanoindex/>
<tbody> </tbody>| Definido no cabeçalho <cmath>
|
||
float sqrt( float arg ); |
||
double sqrt( double arg ); |
||
long double sqrt( long double arg ); |
||
double sqrt( Integral arg ); |
(desde C++11) | |
Calcula a raiz quadrada de
arg.Original:
Computes square root of
arg.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 | - | ponto flutuante ou valor inteiro
Original: floating point or 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
raiz quadrada de
arg.Original:
square root of
arg.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.
Erro de domínio ocorre se
arg é negativo. NAN é devolvido em caso.Original:
Domain error occurs if
arg is negative. NAN is returned in that case.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.
