This function returns the logarithm of n with base 2.
2
log2::=
The number n must be positive.
n
SELECT LOG2(1024) LOG2;