LOG2()

Scalar. Returns the logarithm of a given value to the base 2.

Syntax

LOG2( value )
Parameter

value

An expression that evaluates to a value greater than or equal to 0.

Data Types

Return

value

Float

Float

Example

INSERT INTO OutStream
SELECT LOG2(InStream.FloatColumn)
FROM InStream;