home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / programmieren / c / vbcc / machines / amigappc / libsrc / math / acos.c next >
Encoding:
C/C++ Source or Header  |  1997-12-30  |  83 b   |  7 lines

  1. #include <math.h>
  2.  
  3. double acos(double x)
  4. {
  5.   return (fabs(atan(sqrt(1-x*x)/x)));
  6. }
  7.