HUGO
Menu
GitHub 89144 stars Mastodon

math.Atan2

Returns the arctangent, in radians, of the given number pair, determining the correct quadrant from their signs.

Syntax

math.Atan2 VALUE VALUE

Returns

float64
{{ math.Atan2 1 2 }} → 0.4636476090008061

Last updated: January 1, 0001
Improve this page