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