up previous next
Fn.Log

Returns the logarithm to a given base.
Syntax
          
Fn.Log(Base:RAT,X:RAT):RAT

          

Description
This function returns the logarithm of X to the base Base rounded to the current global accuracy.

Example
Fn.SetAccuracy(20);
R := Fn.Log(3,27);
Dec(R, 40);

3
-------------------------------



Example
Fn.SetAccuracy(20);
R := Fn.Log(2,10);
Dec(R, 40);

3.32192809488736234787
-------------------------------



See Also