/* @(#)asin.c 4.1 12/25/82 */
asin(arg) and acos(arg) return the arcsin, arccos,
respectively of their arguments.
Arctan is called after appropriate range reduction.
static double pio2
= 1.570796326794896619;
temp
= sqrt(1. - arg
*arg
);
temp
= pio2
- atan(temp
/arg
);
if((arg
> 1.) || (arg
< -1.)){
return(pio2
- asin(arg
));