Docs Functions math math.Atanmath.AtanReturns the arctangent, in radians, of the given number.Syntaxmath.Atan VALUEReturnsfloat64{{ math.Atan 1 }} → 0.7853981633974483Last updated: April 4, 2026 : content: Remove outdated new-in badges (21081f6d4)Improve this page