Navigation: Function Reference > General Utility Functions > log2()

log2()

Top  Previous  Next

log2( base: Extended; x: Extended ) : Extended;

 

Returns log base 2 of x.

 

Parameters

 

base

numeric value

x

numeric value

 

var f: Double;

var l: Double;

 

f := 10;

 

l := log2( f );

 

//l is now equal to 0.3010299956;