log2
log2(x)
Calculate the 2-base of a value. This is the same as calculating `log(x, 2)`.
Try it yourself:
$1 | log2(0.03125)
| |
$2 | log2(16)
| |
$3 | log2(16) / log2(2)
| |
$4 | pow(2, 4)
|
Calculate the 2-base of a value. This is the same as calculating `log(x, 2)`.
Try it yourself:
$1 | log2(0.03125)
| |
$2 | log2(16)
| |
$3 | log2(16) / log2(2)
| |
$4 | pow(2, 4)
|