Back to Math
logb
Logarithm with arbitrary base.
Syntax
logb(b, x) → r
Backends
TypeScript
Description
Logarithm with arbitrary base.
Parameters
| Name | Description |
|---|---|
| b | Base |
| x | Argument |
Returns
log base b of x
Examples
Try It
>> logb(2, 8)