Log2
From SCAR Divi Manual
function Log2(X: Extended): Extended;
SCAR Divi 3.00 > Current
Returns the logarithm of a value given by X with base 2.
begin WriteLn(Log2(10)); WriteLn(Log2(5)); WriteLn(Log2(2)); end.
Output:
3,32192809488736 2,32192809488736 1