tan()

Math / Trigonometry

Description

Calculates the ratio of the sine and cosine of an angle.

Syntax

float tan(float angle)

Parameters

NameTypeDescription
anglefloatangle in radians

Returns

float

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...