asp.net.ph

Math.Log Method ( Double )

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;

Parameters

d
A number whose logarithm is to be found.

Return Value


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.

Remarks

Parameter d is specified as a base 10 number.

See Also

Math Members   Math.Log Overload List   E   Exp Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph