Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

cos, cosf, cosl - Cosinus berechnen

&pagelevel(4)&pagelevel

Definition

#include <math.h>

double cos(double x);
C11
float cosf(float x);
long double cosl(long double x); (Ende)

Beschreibung

Diese Funktionen berechnen für die Gleitpunktzahl x, die den Winkel im Bogenmaß angibt, d.h. die trigonometrische Funktion Cosinus.

Returnwert

cos(x)      Der Returnwert ist eine Gleitkommazahl aus dem Intervall [-1.0, +1.0].

Siehe auch

acos(), asin(), atan(), atan2(), sin(), tan(), math.h.