Returns the logarithm of a specified number in a specified base.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Quad Log(
Quad value,
Quad newBase
)
Public Shared Function Log (
value As Quad,
newBase As Quad
) As Quad
public:
static Quad Log(
Quad value,
Quad newBase
)
static member Log :
value : Quad *
newBase : Quad -> Quad
Parameters
- value
- Type: Extreme.MathematicsQuad
A number whose logarithm is to be found.
- newBase
- Type: Extreme.MathematicsQuad
The base of the logarithm.
Return Value
Type:
Quad
One of the values in the following table. (+Infinity denotes System.Double.PositiveInfinity,
-Infinity denotes System.Double.NegativeInfinity, and NaN denotes System.Double.NaN.)anewBaseReturn
valuea> 0(0 <newBase< 1) -or-(newBase> 1)lognewBase(a)a< 0(any value)NaN(any
value)newBase< 0NaNa != 1newBase = 0NaNa != 1newBase = +InfinityNaNa = NaN(any
value)NaN(any value)newBase = NaNNaN(any value)newBase = 1NaNa = 00 <newBase<
1 +Infinitya = 0newBase> 1-Infinitya = +Infinity0 <newBase< 1-Infinitya =
+InfinitynewBase> 1+Infinitya = 1newBase = 00a = 1newBase = +Infinity0
Reference