System Namespace Math Class
Returns the natural ( base e ) logarithm of a specified number.
[ VB ]
Overloads Public Shared Function Log ( _
ByVal d As Double _
) As Double
[ C# ]
public static double Log (
double d
);
[ C++ ]
public: static double Log (
double d
);
[ JScript ]
public static function Log (
d : double
) : double;
- d
- A number whose logarithm is to be found.
Sign of d |
Returns |
Positive |
The natural logarithm of d; that is, ln d, or loge d |
Zero |
PositiveInfinity |
Negative |
NaN |
If d is equal to NaN, returns NaN. If d is equal to PositiveInfinity, returns PositiveInfinity.
Parameter d is specified as a base 10 number.
Math Members Math.Log Overload List E Exp