njLog2 Japanese
<-|INDEX|->
Returns the base 2 logarithm.

FORMAT

#include <Ninja.h> 
Float njLog2( n )
Float n

PARAMETERS

n
arbitrary real number

RETURN VALUE

Base 2 logarithm of n

FUNCTION


EXAMPLE

ans = njLog2( 2.f );
% Result %
ans = 1.000000

NOTES


RELATED TOPICS

njLog

njLog2
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997