Cygwin: //: fetch only one item per loop
[newlib-cygwin.git] / newlib / libm / mathfp / s_log.c
blobe1d33e10bf3c2dc24130ac4dc8dd627b9cfac59b
2 /* @(#)z_log.c 1.0 98/08/13 */
3 /******************************************************************
4 * Logarithm
6 * Input:
7 * x - floating point value
9 * Output:
10 * natural logarithm of x
12 * Description:
13 * This routine returns the natural logarithm of x.
15 *****************************************************************/
17 #include "fdlibm.h"
18 #include "zmath.h"
20 #ifndef _DOUBLE_IS_32BITS
22 double
23 log (double x)
25 return (logarithm (x, 0));
28 #endif /* _DOUBLE_IS_32BITS */