Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libm / mathfp / sf_log10.c
blobdeb35a3780947bdea76ae56e776c4650481f700f
2 /* @(#)z_log10f.c 1.0 98/08/13 */
3 /******************************************************************
4 * Logarithm
6 * Input:
7 * x - floating point value
9 * Output:
10 * logarithm of x
12 * Description:
13 * This routine returns the logarithm of x (base 10).
15 *****************************************************************/
17 #include "fdlibm.h"
18 #include "zmath.h"
20 float
21 log10f (float x)
23 return (logarithmf (x, 1));
26 #ifdef _DOUBLE_IS_32BITS
28 double log10 (double x)
30 return (double) log10f ((float) x);
33 #endif /* defined(_DOUBLE_IS_32BITS) */