题意:--
思路:--
看不懂题意,复习下对数的知识以及数学函数log
学习点:
一、对视的常用公式
- 和差
- 基变换
- 指系
- 还原
- 互换
- 倒数
- 链式
详细参见维基百科:
http://zh.wikipedia.org/wiki/%E5%AF%B9%E6%95%B0#.E5.B8.B8.E7.94.A8.E5.85.AC.E5.BC.8F
二、c语言中的 log 和 log10 函数
这两个函数是不同的。
log10 : Returns the common (base-10) logarithm of x.
log : Returns the natural logarithm of x. (相当于数学中的ln)