c++中的log函数

引入#include<cmath>

以e为底:log(n)

以10为底:log10(n)

以m为底:log(n)/log(m)

posted @ 2018-07-28 20:40  mc宇少  阅读(23093)  评论(1编辑  收藏  举报