◐ Shell
clean mode source ↗

std::cos — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Déclaré dans l'en-tête

<cmath>

float cos( float arg );

double cos( double arg );

long double cos( long double arg );

double cos( Integral arg );

(depuis C++11)

Calcule le cosinus 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.

Paramètres

arg -

valeur à virgule flottante qui représente l'angle exprimé en radians

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.

Retourne la valeur

cosinus de arg dans le [-1.0 ; 1.0] plage .

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.

Erreur de domaine se produit si arg est infinie. NAN est retourné dans ce cas .

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.

Voir aussi

sine calcule (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.


(fonction) [edit]

calcule la 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.


(fonction) [edit]

calcule l'arc cosinus (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.


(fonction) [edit]

calcule le cosinus d'un nombre complexe (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.


(fonction générique) [edit]

applique la fonction std::cos à chaque élément 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.


(fonction générique) [edit]