Ninja Library - Mathematical Function
njLog2
Returns the base 2 logarithm
FORMAT
Float njLog2( n )
Float n
PARAMETER
n
Arbitrary real number
RETURN
Base 2 logarithm of n
DESCRIPTION
Determines the base 2 logarithm of arbitrary real number n are returns the value found as the result.
EXAMPLE
ans = njLog2( 2.f ); % Result % ans = 1.000000
REFERENCE
njLog
()
njLog2
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999