◐ Shell
clean mode source ↗

std::cos – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<cmath>

float cos( float arg );

double cos( double arg );

long double cos( long double arg );

double cos( Integral arg );

(seit C++11)

Berechnet Kosinus 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.

Parameter

arg -

Gleitkommawert repräsentiert Winkel im Bogenmaß

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.

Rückgabewert

Cosinus arg im Bereich [-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.

Domain-Fehler tritt auf, wenn arg unendlich ist. NAN wird in diesem Fall wieder .

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.

Siehe auch

berechnet Sinus (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.


(Funktion) [edit]

berechnet 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.


(Funktion) [edit]

berechnet Arcuscosinus (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.


(Funktion) [edit]

berechnet Kosinus einer komplexen Zahl (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.


(Funktions-Template) [edit]

wendet die Funktion std::cos auf jedes Element 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.


(Funktions-Template) [edit]