ctan(), ctanf(), ctanl()— Calculate the complex tangent
Standards
Standards / Extensions | C or C++ | Dependencies |
---|---|---|
C99 |
both | z/OS V1R7 |
Format
#include <complex.h>
double complex ctan(double complex z);
float complex ctanf(float complex z);
long double complex ctanl(long double complex z);
General description
The ctan() family of
functions compute the complex tangent of z.
Note: The
following table shows the viable formats for these functions. See IEEE binary floating-point for more information about IEEE
Binary Floating-Point.
Function | Hex | IEEE |
---|---|---|
ctan | X | X |
ctanf | X | X |
ctanl | X | X |
Returned value
The ctan() family of functions return the complex tangent value.
Example
For an example of a similar function see cacos(), cexp() or cpow().
Related information
- complex.h
- ctanh(), ctanhf(), ctanhl() — Calculate the complex hyperbolic tangent
- catanh(), catanhf(), catanhl() — Calculate the complex arc hyperbolic tangent
- catan(), catanf(), catanl() — Calculate the complex arc tangent
- csin(), csinf(), csinl() — Calculate the complex sine
- csinh(), csinhf(), csinhl() — Calculate the complex hyperbolic sine