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