Name
log function — Computes natural logarithm
Synopsis
float log(float x) double log(double x) long double log(long double x)
The log
function returns
the natural (base e) logarithm
of its argument. A domain error occurs if x
is negative. A range error might occur
if x
is 0
.
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.