LOG(b, x)

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

Analyze Syntax

func.log( <b, x> )

Analyze Examples

func.log(2, 65536)

┌────────────────────┐
 func.log(2, 65536) 
├────────────────────┤
                 16 
└────────────────────┘

SQL Syntax

LOG( <b, x> )

SQL Examples

SELECT LOG(2, 65536);

┌───────────────┐
 log(2, 65536) 
├───────────────┤
            16 
└───────────────┘
Last modified April 23, 2024 at 12:42 PM EST: updating numerical functions (2a94341)