delorie.com/djgpp/doc/libc/libc_542.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <math.h> double log(double x); |
This function computes the natural logarithm of x.
The natural logarithm of x. If x is zero, a negative
infinity is returned and errno
is set to ERANGE
. If
x is negative or +Inf
or a NaN
, the return value is
NaN
and errno
is set to EDOM
.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |