tan, tanf—tangent #include <math.h>
double tan(double x);
float tanf(float x);
Description
tan computes the tangent of the argument x.
Angles are specified in radians.
tanf is identical, save that it takes and returns float values.
Returns
Portability
tan is ANSI. tanf is an extension.