$manlookup

ctan

(3)

complex tangent function

Library functionsmanpages-dev 6.9.1-1also documents ctanf, ctanl
#include <complex.h> double complex ctan(double complex z); float complex ctanf(float complex z); long double complex ctanl(long double complex z);

LIBRARY

Math library (libm, -lm)

DESCRIPTION

These functions calculate the complex tangent of z.

The complex tangent function is defined as:


ctan(z) = csin(z) / ccos(z)

ATTRIBUTES

For an explanation of the terms used in this section, see attributes(7).

Interface Attribute Value
ctan (), ctanf (), ctanl () Thread safety MT-Safe

STANDARDS

C11, POSIX.1-2008.

HISTORY

glibc 2.1. C99, POSIX.1-2001.

See also