log(b, f )

Returns the logarithm of f to the base b

Returns the logarithm of f to the base b. If b or f is negative, or if b is 1 a runtime error is raised.

Parameters

b: floating point value

f: floating point value

Return Value

the logarithm of f to the base of b.

Example command: log(10.,4.)

  • Example Parameters:
    • b is base 10
    • f is log of 4
      • Returns 0.60206