Garry's Mod Wiki

math.asin

  number math.asin( number normal )

Description

Returns the arcsine of the given number.

Arguments

1 number normal
Sine value in the range of -1 to 1.

Returns

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

nan if the argument is out of range.