IMathTNumericLog(TNumeric) Method

Returns the natural (base e) logarithm of a specified number.

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
TNumeric Log(
	TNumeric x
)

Parameters

x  TNumeric
The number whose logarithm is to be found.

Return Value

TNumeric
The natural logarithm of x; that is, ln x, or log e x.

Remarks

May return NaN or Infinity (see Log(Double)). If NaN or Infinity cannot be represented by TNumeric, then a ArithmeticException may be thrown.

See Also