Delen via


ctan, ctanfctanl

Haalt de tangens van een complex getal op.

Syntaxis

_Dcomplex ctan(
   _Dcomplex z
);
_Fcomplex ctan(
   _Fcomplex z
);  // C++ only
_Lcomplex ctan(
   _Lcomplex z
);  // C++ only
_Fcomplex ctanf(
   _Fcomplex z
);
_Lcomplex ctanl(
   _Lcomplex z
);

Parameterwaarden

z
Een complex getal dat de hoek vertegenwoordigt, in radialen.

Retourwaarde

De tangens van z.

Invoer SEH-uitzondering _matherr uitzondering
± INF, QNaN, IND none _DOMEIN
± INF (tan, tanf) ONGELDIG _DOMEIN

Opmerkingen

Omdat C++ overbelasting toestaat, kunt u overbelastingen van ctan die take en return _Fcomplex en _Lcomplex waarden aanroepen. In een C-programma ctan wordt altijd een _Dcomplex waarde gebruikt en geretourneerd.

Requirements

Routine C-koptekst C++ koptekst
ctan, ctanfctanl <complex.h> <complex>

Zie Compatibiliteit voor meer compatibiliteitsinformatie.

Zie ook

Alfabetische functiereferentie
catanh, catanhfcatanhl
ctanh, ctanhfctanhl
catan, catanfcatanl
csinh, csinhfcsinhl
casinh, casinhfcasinhl
ccosh, ccoshfccoshl
cacosh, cacoshfcacoshl
cacos, cacosfcacosl
csin, csinfcsinl
casin, casinfcasinl
ccos, ccosfccosl
csqrt, csqrtfcsqrtl