使用 math.h 或 cmath 头文件中的函数,表达式 log2(32) 的结果为 5、类型为 int。
math.h
cmath
log2(32)
5
int
{{ select(1) }}
不区分大小写,点击图片可更换