double c = log(3); // Sets c to 1.09 double d = log(4); // Sets d to 1.38
log() 计算以自然对数e为底的x的对数
log(x)
x double, float or int
返回 double