| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 4, Section 3: Libraries > cctan(3M)IA-64 only |
|
NAMEctan(), ctanf() — complex tangent functions SYNOPSIS#include <complex.h> double complex ctan(double complex z); float complex ctanf(float complex z); DESCRIPTIONThese functions are available only for IA-64. ctan() returns the complex tangent of z. ctanf() is a float complex version of ctan(); it takes a float complex argument and returns a float complex result. USAGETo use these functions, compile with the default -Ae option. Make sure your program includes <complex.h>. Link in the math library by specifying -lm on the compiler or linker command line. RETURN VALUESctan(conj(z)) = conj(ctan(z)) and ctan is odd. ctan(+0+i0) returns +0+i0. ctan(Inf+iy) returns NaN+iNaN and raises the invalid floating-point exception, for finite y. ctan(NaN+iy) returns NaN+iNaN and optionally raises the invalid floating-point exception, for finite y. ctan(+x+iInf) returns 0sin(2x)+i1, for positive-signed finite x. ctan(+Inf+iInf) returns ±0+i1 (where the sign of the real part of the result is unspecified). ctan(+NaN+iInf) returns ±01+i1 (where the sign of the real part of the result is unspecified). ctan(0+iNaN) returns 0+iNaN. ctan(x+iNaN) returns NaN+iNaN and optionally raises the invalid floating-point exception, for all nonzero numbers x. ctan(NaN+iNaN) returns NaN+iNaN. |
||||||||||||||||||||||||||||
|
|||||||||||||||