darcsin

Returns the inverse sine of val, where val is in degrees.

Syntax:

darcsin(x);


Argument Description
val The angle (in degrees) to return the inverse sine of.


Returns: Real


Description

Returns the inverse sine of x, in that if dsin(x)=n, darcsin(n)=x, and the resulting number will be between -90 and 90.

NOTE: This will only accept a number between -1 and 1 (anything else will throw an error).


Example:

val = darcsin(-1);

This will set "val" to -90.


Back: Real Number Functions
Next: darctan
© Copyright YoYo Games Ltd. 2018 All Rights Reserved