执行数学函数 log2。
log2
math().log2(value)
value
Int | Float:整数结果会返回 Int,非整数结果返回 Float。
Int | Float
Int
Float
result = math().log2(1, 2)