std::cos
Da 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. |
Definido no cabeçalho <cmath>
|
||
float cos( float arg ); |
||
double cos( double arg ); |
||
long double cos( long double arg ); |
||
double cos( Integral arg ); |
(desde C++11) | |
Calcula cosseno de
arg
Original:
Computes cosine 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 | - | valor de ponto flutuante que representa o ângulo em radianos
Original: floating point value representing angle in radians 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
co-seno de
arg
na gama [-1.0 ; 1.0]
. Original:
cosine of
arg
in the range [-1.0 ; 1.0]
. 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
é infinito. NAN é devolvido em caso.Original:
Domain error occurs if
arg
is infinite. 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] Veja também
calcula seno (sin(x)) Original: computes sine (sin(x)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
calcula tangente (tan(x)) Original: computes tangent (tan(x)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
calcula arco cosseno (arccos(x)) Original: computes arc cosine (arccos(x)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
calcula cosseno de um número complexo (cos(z)) Original: computes cosine of a complex number (cos(z)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (modelo de função) | |
aplica-se a std::cos função de cada elemento de valarray Original: applies the function std::cos 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. (modelo de função) |