Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Récupère la tangente d’un nombre complexe.
Syntaxe
_Dcomplex ctan(
_Dcomplex z
);
_Fcomplex ctan(
_Fcomplex z
); // C++ only
_Lcomplex ctan(
_Lcomplex z
); // C++ only
_Fcomplex ctanf(
_Fcomplex z
);
_Lcomplex ctanl(
_Lcomplex z
);
Paramètres
z
Nombre complexe qui représente l’angle, en radians.
Valeur retournée
Tangente de z.
| Input | Exception SEH | Exception _matherr |
|---|---|---|
| ± INF, QNaN, IND | Aucune | _DOMAIN |
± INF (tan, tanf) |
INVALID | _DOMAIN |
Notes
C++ autorisant la surcharge, vous pouvez appeler des surcharges de ctan qui acceptent et retournent des valeurs _Fcomplex et _Lcomplex . Dans un programme C, ctan accepte et retourne toujours une valeur _Dcomplex .
Spécifications
| Routine | En-tête C | En-tête C++ |
|---|---|---|
ctan, , ctanfctanl |
<complex.h> | <ccomplex> |
Pour plus d’informations sur la compatibilité, consultez Compatibility.
Voir aussi
Référence de fonction alphabétique
catanh, , catanhfcatanhl
ctanh, , ctanhfctanhl
catan, , catanfcatanl
csinh, , csinhfcsinhl
casinh, , casinhfcasinhl
ccosh, , ccoshfccoshl
cacosh, , cacoshfcacoshl
cacos, , cacosfcacosl
csin, , csinfcsinl
casin, , casinfcasinl
ccos, , ccosfccosl
csqrt, , csqrtfcsqrtl