std::sqrt
De cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Defined in header <cmath>
|
||
float sqrt( float arg ); |
||
double sqrt( double arg ); |
||
long double sqrt( long double arg ); |
||
double sqrt( Integral arg ); |
(desde C++11) | |
Calcula la raíz cuadrada 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.
[editar] Parámetros
arg | - | punto flotante o un valor entero
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. |
[editar] Valor de retorno
raíz cuadrada 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.
Domain error se produce si
arg
es negativo. NAN se devuelve en ese 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.
[editar] Ver también
(C++11) |
calcula la raíz cúbica (3√x) (función) |
eleva un número a la potencia dada (xy) Original: raises a number to the given power (xy) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
raíz cuadrada complejo en el intervalo de la derecha del plano medio Original: complex square root in the range of the right half-plane The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función de plantilla) | |
se aplica la std::sqrt función a cada elemento de valarray Original: applies the function std::sqrt to each element of valarray The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función de plantilla) |