tan function

Syntax

  • float tan(x)

Parameters

  1. x—float

Returns

The tangent of x.

Description

The tan function calculates the tangent of x where x is given in degrees.

Related