C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
Math Class
Math Methods
Log Method
Log Method (Double)
Log Method (Double, Double)
Math
Log Method (Double)
Returns the natural (base e) logarithm of a specified number.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
static
double
Log
(
double
d
)
Parameters
d
Type:
System
Double
A number whose logarithm is to be found.
Return Value
Type:
Double
One of the values in the following table.
d
parameterReturn value Positive The natural logarithm of
d
; that is, ln
d
, or log e
d
Zero
NegativeInfinity
Negative
NaN
Equal to
NaN
NaN
Equal to
PositiveInfinity
PositiveInfinity
See Also
Reference
Math Class
Log Overload
System Namespace