# IMLOG2

Formulas / IMLOG2
Calculate the base-2 logarithm of a complex number.
`IMLOG2(number)`
• number - required, complex number

## Examples

• `=IMLOG2("5+2i")`

The IMLOG2 function can be used to calculate the base 2 logarithm of any complex number, and will return the base 2 logarithm of 5+2i.

• `=IMLOG2(6)`

The IMLOG2 function can also be used to calculate the base 2 logarithm of a real number, and will return the base 2 logarithm of 6.

• `=IMLOG2("3i")`

The IMLOG2 function can also be used to calculate the base 2 logarithm of imaginary numbers, and will return the base 2 logarithm of 3i.

• `=IMLOG2("4+i")`

The IMLOG2 function can also be used to calculate the base 2 logarithm of complex numbers with both real and imaginary components, and will return the base 2 logarithm of 4+i.

## Summary

The IMLOG2 function calculates the base-2 logarithm of a complex number, which must be formatted as x + yi or x + yj.

• The IMLOG2 function calculates the base-2 logarithm of a number and requires a complex number as an argument.

What is the IMLOG2 function?
The IMLOG2 function is a mathematical function that calculates the base-2 logarithm of a number.
What kind of input does the IMLOG2 function take?
The IMLOG2 function takes a complex number as input.
What is the format of the output of the IMLOG2 function?
The output of the IMLOG2 function is in text format.
Are there any limitations when using the IMLOG2 function?
Yes, the IMLOG2 function only accepts complex numbers as input and the output is in text format. 