IMLOG2

Syntax:

IMLOG2 ( complex-number )

Description: Computes the base-2 logarithm of complex-number.

Mathematical Formula:

The base-2 logarithm of a complex number can be calculated from the natural logarithm as follows:

Arguments:

Name

Type

Description

complex-number

text

The complex number for which the base-2 logarithm is being computed. complex-number shall be in x + yi or x + yj text format.

Return Type and Value: text – The base-2 logarithm of complex-number, in x+yi or x+yj text format.

However, if complex-number is ill-formed, #NUM! is returned.

example: