Spread WinRT Documentation
Spread WinRT Documentation / Formula Reference / Formula Functions / IMLOG2
In This Topic
    IMLOG2
    In This Topic

    Summary

    This function returns the base-2 logarithm of a complex number.

    Syntax

    IMLOG2(complexnum)

    Arguments

    The complexnum argument is a complex number for which to return the base-2 logarithm.

    Remarks

    An error is returned if the complexnum argument is not in the form "x+yi" or "x+yj". For more information, refer to Complex Numbers.

    Data Types

    Accepts number and string data. Returns string data.

    Examples

    IMLOG2("2+5j")

    See Also