Compute the logarithm of a value in any base, including natural and common logs.
换底公式求任意底数的对数。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Change-of-base formula | log_a(b) = ln(b) / ln(a) | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Definition | a^y = b is equivalent to y = log_a(b), with a > 0, a ≠ 1, b > 0 | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Notation for common bases | lg = log10, ln = log_e, lb = log2 | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Reciprocal identity | log_a(b) · log_b(a) = 1 | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
换底公式 log_b(x)=ln(x)/ln(b):将任意底对数转为自然对数(或常用对数)计算。
结果表示"b 的几次方等于 x"。b>1 时单调增;b∈(0,1) 时单调减。x>0、b>0 且 b≠1。