Calculates the complex tangent of a complex value.
Calculates the trigonometric tangent of a double value.
complex tan( complex z )
double tan( double x )
tan(z)
tan(x)
EX1
void run_complex_tan() { complex cc(0.5, 0.8); out_complex("tan = ", tan(cc)); //Result is "tan = 0.269895+0.761945i" }
EX2
void tan_ex1() { double x = 0.78; double val = tan(x); printf("tan(%f) = %f\n", x, val); }
origin.h