Loading...
Select Version
&pagelevel(4)&pagelevel
Syntax | #include <math.h> double log(double x); | |
Description | These functions compute the natural logarithm of the positive floating-point number x to the base e. | |
Return val. | ln(x) | for a positive x. |
|
| depending on the function type, if x is less than or equal to 0. |
Errors |
| |
|
| The value of x is negative. |
|
| The value of x is 0. |
See also |
|