ctan(), ctanf(), ctanl()— Calculate the complex tangent

Standards

Standards / Extensions C or C++ Dependencies

C99
Single UNIX Specification, Version 3

both

z/OS V1R7
a compiler that is designed
to support C99

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