Last updated 5 months ago
Returns the base 2 logarithm of x.
LOG2(input)
Returns a double value.
double
input
numeric
true
2
1.0
16.0
4.0
0.5
-1.0
15
3.9068905956085187
0
'-Infinity'
-2
nan()