Skip to content

Returns the base-b logarithm of x. If x is less than or equal to 0.0E0, the function returns NULL.

func.log( <b, x> )
func.log(2, 65536)
┌────────────────────┐
│ func.log(2, 65536) │
├────────────────────┤
16
└────────────────────┘
LOG( <b, x> )
SELECT LOG(2, 65536);
┌───────────────┐
log(2, 65536) │
├───────────────┤
16
└───────────────┘