GLBasic User Manual

Main sections

ASIN()

v=ASIN(a#)



ASIN returns the arcsine angle whose sine is v.

The result will be in the range -90 to +90.

Sample:
a# = 0.5
result# = ASIN(a#)
PRINT "ASIN result = " + result,0,0
SHOWSCREEN
MOUSEWAIT


Output:
ASIN result = 30

See also...