BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

klog1p - compute the logarithm of x+1 of the argument.

LIBRARY CALL

double klog1p(double x)

INPUT

OUTPUT

none

RETURN VALUE

the double precision logarithm plus one of the input argument.

DESCRIPTION

The klog1p function computes the natural logarithm of the double precision argument plus 1.

klog1p is not a POSIX function, but is implemented in a few BSD math libraries. If it is implemented for the current architecture in libm.a, then this is simply a macro to log1p, otherwise klog1p is a macro to the Khoros portable version of log1p.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/klibm/src/klibm.c

SEE ALSO

klibm(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.