* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)acos.c 5.1 (Berkeley) %G%";
acos(arg) return the arccos,
respectively of their arguments.
Arctan is called after appropriate range reduction.
static double pio2
= 1.570796326794896619;
if(arg
> 1.|| arg
< -1.){
return(pio2
- asin(arg
));