/*
* call-seq:
* Math.asin(x) => float
*
* Computes the arc sine of <i>x</i>. Returns 0..PI.
*/
static VALUE
math_asin(obj, x)
VALUE obj, x;
{
double d;
Need_Float(x);
errno = 0;
d = asin(RFLOAT(x)->value);
if (errno) {
rb_sys_fail("asin");
}
return rb_float_new(d);
}