Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual

Computes the base 2 logarithm of a specified input value.

If x is 0, log2 is negative infinity. If x is not complex and is less than 0, log2 is not a number (NaN).

connector_pane_image
datatype_icon

x

An input to this operation.

This input supports scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers.

Data Type Changes on FPGA

datatype_icon

log2

Result of the operation.

This output assumes the same numeric representation as x. When x is of the form x = a + bi, that is, when x is complex, the following equation defines log2:
log 2 ( x ) = ln ( x ) ln ( 2 ) = 1 ln ( 2 ) ( ln ( a 2 + b 2 ) + i arctan 2 ( b , a ) )