Garry's Mod Wiki

math.atan

  number math.atan( number normal )

Description

Returns the arctangent of the given number.

Arguments

1 number normal
Tangent value.

Returns

1 number
An angle in radians, in the range -pi/2 to pi/2, which has the given tangent.