up previous next
Returns the logarithm to a given base with a given accuracy.
Fn.LogN(Base:RAT,Val:RAT,Acc:INT):RAT
|
This function returns the logarithm of
Val to the base
Base rounded to the given accuracy
Acc.
- @param Base The base to which to compute the logarithm.
- @param Val The value of which to compute the logarithm.
- @param Acc The desired accuracy.
- @return The logarithm of Val to the base Base rounded to accuracy Acc.
R := Fn.LogN(3,27, 30);
Dec(R, 40);
3
-------------------------------
|
R := Fn.LogN(2,10, 30);
Dec(R, 40);
3.321928094887362347870319429489
-------------------------------
|