Skip to content

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
The tangent of x is returned.
---
**Authoritative source**: BUSMASTER DITA help source `tan.dita`, compiled into `BUSMASTER.CHM` with the application.