Manpage of LOG1P
LOG1P
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
1.35 `log1p', `log1pf'--log of `1 + X'
SYNOPSIS
#include <math.h>
double log1p(double X);
float log1pf(float X);
DESCRIPTION
`log1p' calculates the natural logarithm of `1+X'. You can use `log1p'
rather than ``log(1+X)'' for greater precision when X is very small.
`log1pf' calculates the same thing, but accepts and returns `float'
values rather than `double'.
RETURNS
`log1p' returns a `double', the natural log of `1+X'. `log1pf' returns
a `float', the natural log of `1+X'.
PORTABILITY
Neither `log1p' nor `log1pf' is required by ANSI C or by the System V
Interface Definition (Issue 2).
SEE ALSO
log1p
is part of the
libm
library.
The full documentation for
libm
is maintained as a Texinfo manual. If
info
and
libm
are properly installed at your site, the command
-
info libm
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:24 GMT, May 16, 2005
www.fiveanddime.net