首页 > 技术文章 > [Log函数]C++log函数使用
1by1 2019-01-16 07:57 原文
先引入头文件#include<cmath>
以e为底:log(exp(n))
以10为底:log10(n)
以m为底:log(n)/log(m)