Decimal Math.Log(Decimal) Method
Returns the natural (base e) logarithm of a specified number.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
One of the values in the following table. value parameterReturn value Positive The natural logarithm of value; that is, ln value, or log edZero System.Double.NegativeInfinityNegative System.Double.NaNEqual to System.Double.NaNSystem.Double.NaNEqual to System.Double.PositiveInfinitySystem.Double.PositiveInfinity
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static decimal Log(
decimal value
)
Parameters
- value Decimal
- A number whose logarithm is to be found.
Return Value
DecimalOne of the values in the following table. value parameterReturn value Positive The natural logarithm of value; that is, ln value, or log edZero System.Double.NegativeInfinityNegative System.Double.NaNEqual to System.Double.NaNSystem.Double.NaNEqual to System.Double.PositiveInfinitySystem.Double.PositiveInfinity
Exceptions
Overflow | value is zero. |
Argument | value is less than zero. |