c语言中
函数 log(x) 表示是以e为底的自然对数,即 ln(x)
函数 log10(x) 以10为底的对数,即 lg(x)
以其它数为底的对数用换底公式来表示 log(a)/log(b)
函数 log() 和 log10() 包含在头文件<math.h>中