lg - part-cw/lambdanative GitHub Wiki
(lg x)
lg returns the logarithm of element x in base 2
Parameter | Description |
---|---|
x | The number operated on |
Example
Example 1: Comparisons of different logarithm functions
> (log10 30)
1.4771212547196624
> (lg 30)
4.906890595608519
> (logb 30 5)
2.1132827525593787