

log()                  Mathematics Function                 log()




Compute natural logarithm

#include <math.h>
ddoouubbllee lloogg(_z) ddoouubbllee _z;

lloogg returns the natural (base e) logarithm of its argument _z.

***** Example *****

For an example of this function, see the entry for exp.

***** See Also *****

log10(), mathematics library

***** Diagnostics *****

A domain error in lloogg (_z  is less than or equal to zero) sets eerr-
rrnnoo to EEDDOOMM and returns zero.





































COHERENT Lexicon                                           Page 1


