Jump to content

Atan()

From OpenBOR
Revision as of 14:58, 21 July 2026 by Dcurrent (talk | contribs) (Dcurrent moved page Atan to Atan() without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Accepts a decimal value and returns its arc tangent in degrees using the C atan() function: atan(input) * 180 / π.

float input = 1.0;

float result = atan(input);

// result = 45.0

Unlike asin() and acos(), atan() accepts values across the full numeric range and requires no domain clamping. Its result falls between -90 and 90 degrees.