1LOG1P(3)                   Linux Programmer's Manual                  LOG1P(3)
2
3
4

NAME

6       log1p -  logarithm of 1 plus argument
7

SYNOPSIS

9       #include <math.h>
10
11       double log1p(double x);
12       float log1pf(float x);
13       long double log1pl(long double x);
14
15       Compile with -std=c99; link with -lm.
16

DESCRIPTION

18       log1p(x) returns a value equivalent to `log (1 + x)'. It is computed in
19       a way that is accurate even if the value of x is near zero.
20

CONFORMING TO

22       BSD, C99.  The float and long double variants are C99 requirements.
23

SEE ALSO

25       exp(3), expm1(3), log(3)
26
27
28
29                                  2002-07-27                          LOG1P(3)
Impressum