HUGO
News Docs Themes Community GitHub

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
New in v0.130.0
{{ math.Atan2 1 2 }} → 0.4636476090008061

Last updated: January 1, 0001
Improve this page