Here you can find the source of asin(double a)
Parameter | Description |
---|---|
a | the value whose arc sine is to be returned. |
public static double asin(double a)
//package com.java2s; public class Main { /**/*from w w w. j a v a 2s . c o m*/ * Returns the arc sine of an angle, in the range of -<i>pi</i>/2 through * <i>pi</i>/2. Special cases: * * <ul> * <li> * If the argument is NaN or its absolute value is greater than 1, then the * result is NaN.</li> * <li> * If the argument is zero, then the result is a zero with the same sign as * the argument.</li> * </ul> * * <p> * A result must be within 1 ulp of the correctly rounded result. Results * must be semi-monotonic. * </p> * * @param a * the value whose arc sine is to be returned. * * @return the arc sine of the argument. */ public static double asin(double a) { return Math.asin(a); } }