Freigeben über


ccos, ccosf, ccosl

Ruft den Kosinus einer komplexen Zahl ab.

Syntax

_Dcomplex ccos(
   _Dcomplex z
);
_Fcomplex ccos(
   _Fcomplex z
);  // C++ only
_Lcomplex ccos(
   _Lcomplex z
);  // C++ only
_Fcomplex ccosf(
   _Fcomplex z
);
_Lcomplex ccosl(
   _Lcomplex z
);

Parameter

z
Eine komplexe Zahl, die den Winkel als Bogenmaß darstellt

Rückgabewert

Der Kosinus von z als Bogenmaß.

Hinweise

Da C++ das Überladen zulässt, können Sie Überladungen von ccos aufrufen, die _Fcomplex - und _Lcomplex -Werte verwenden und zurückgeben. In einem C-Programm nimmt ccos immer einen _Dcomplex -Wert an, und gibt auch einen solchen zurück.

Anforderungen

Routine C-Header C++-Header
ccos, ccosf, ccosl <complex.h> <ccomplex>

Weitere Informationen zur Kompatibilität finden Sie unter Kompatibilität.

Siehe auch

Alphabetische Funktionsreferenz
catanh, catanhf, catanhl
ctanh, ctanhf, ctanhl
catan, catanf, catanl
csinh, csinhf, csinhl
casinh, casinhf, casinhl
ccosh, ccoshf, ccoshl
cacosh, cacoshf, cacoshl
cacos, cacosf, cacosl
ctan, ctanf, ctanl
csin, csinf, csinl
casin, casinf, casinl
csqrt, csqrtf, csqrtl