Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

logb returns the logarithm of x in base b.

Parameter Description
x The number operated on
b Logarithm base

Example

Example 1: Comparisons of different logarithm functions

> (log10 30)
1.4771212547196624
> (lg 30)
4.906890595608519
> (logb 30 5)
2.1132827525593787
Clone this wiki locally