home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / ansi / math / atanh.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-29  |  151 b   |  9 lines

  1. /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
  2. #include <math.h>
  3.  
  4. double
  5. atanh(double x)
  6. {
  7.   return log((1+x)/(1-x)) / 2.0;
  8. }
  9.