ctan
, ctanf
, ctanl
Ruft den Tangens einer komplexen Zahl ab
Syntax
_Dcomplex ctan(
_Dcomplex z
);
_Fcomplex ctan(
_Fcomplex z
); // C++ only
_Lcomplex ctan(
_Lcomplex z
); // C++ only
_Fcomplex ctanf(
_Fcomplex z
);
_Lcomplex ctanl(
_Lcomplex z
);
Parameter
z
Eine komplexe Zahl, die den Winkel als Bogenmaß darstellt
Rückgabewert
Der Tangens von z
.
Eingabe | SEH-Ausnahme | _matherr -Ausnahme |
---|---|---|
± INF, QNaN, IND | Keine | _DOMAIN |
± INF (tan , tanf ) |
INVALID | _DOMAIN |
Hinweise
Da C++ das Überladen zulässt, können Sie Überladungen von ctan
aufrufen, die _Fcomplex
- und _Lcomplex
-Werte verwenden und zurückgeben. In einem C-Programm nimmt ctan
immer einen _Dcomplex
-Wert an, und gibt auch einen solchen zurück.
Anforderungen
Routine | C-Header | C++-Header |
---|---|---|
ctan , ctanf , ctanl |
<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
csin
, csinf
, csinl
casin
, casinf
, casinl
ccos
, ccosf
, ccosl
csqrt
, csqrtf
, csqrtl
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für