<-- Previous || Up || Next -->

Log N Real Function
Math Reals Class

Public Function LogNReal( _
      ByVal vX As Variant _
    , ByVal vY As Variant _
    ) As Variant

"Log Base N Of Real Number"
Return the base Y logarithm of X, where both arguments are real numbers.

Examples:
    LogNReal(0, 10) = 0
    LogNReal(10, 10) = 1
    LogNReal(12, 10) = 1.07918124604762
    LogNReal(16, 10) = 1.20411998265592
    LogNReal(167, 10) = 2.22271647114758
v1.5 BugFix: Corrected the LogNReal(0, 10) example above to show the correct result.
See also:
    LogNRealVerify Subroutine
    LogBaseN Function
    LogN Function
    Log Function (Visual Basic)
Note: The LogBaseN function supports both real AND complex numbers.
Note: Function generates an "Invalid Procedure Call" error if either argument is < 0 (less than zero).

vX: The number whose base vY logarithm is to be returned. Function returns Null if vX is Null or cannot be fixed up to a number.

vY: The logarithm base. Function returns Null if vY is Null or cannot be fixed up to a number.

Definition:

    Log(X) / Log(Y)

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.