blob: e1d33e10bf3c2dc24130ac4dc8dd627b9cfac59b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* @(#)z_log.c 1.0 98/08/13 */
/******************************************************************
* Logarithm
*
* Input:
* x - floating point value
*
* Output:
* natural logarithm of x
*
* Description:
* This routine returns the natural logarithm of x.
*
*****************************************************************/
#include "fdlibm.h"
#include "zmath.h"
#ifndef _DOUBLE_IS_32BITS
double
log (double x)
{
return (logarithm (x, 0));
}
#endif /* _DOUBLE_IS_32BITS */
|