`tan`

, `tanf`

---tangent#include <math.h> double tan(doublex); float tanf(floatx);

**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**

The tangent of `x` is returned.

**Portability**

`tan`

is ANSI. `tanf`

is an extension.

Go to the first, previous, next, last section, table of contents.