Skip to content

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

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