asin Summary Get the arcsine of a number. Usage public static double asin(double x) Returns The arcsine of the number expressed in radians. The returned value will be between -π/2 and π/2. NaN if the provided argument is out of range. Parameters x The number to get the arcsine of. Description Returns the arcsine (in radians) for a number within the range [-1, 1] (inclusive). If the provided number is out of range, NaN will be returned. Examples Basic Usage 12345import System; Console.log(Math.asin(-2)); // NaNConsole.log(Math.asin(1)); // 1.5707963267948966Console.log(Math.asin(0.5)); // 0.5235987755982989 Share HTML | BBCode | Direct Link