IMathTNumericLog(TNumeric, TNumeric) Method

Returns the logarithm of a specified number in a specified base.

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
TNumeric Log(
	TNumeric a,
	TNumeric newBase
)

Parameters

a  TNumeric
The number whose logarithm is to be found.
newBase  TNumeric
The base of the logarithm.

Return Value

TNumeric
log newBase(a)

Remarks

This method may return NaN or Infinity. If NaN or Infinity cannot be represented by TNumeric, then this method may throw an ArithmeticException.

See Also