ip-num
    Preparing search index...

    Function intLog2

    • Calculates the log, to base 2 of given number.

      Parameters

      • givenNumber: bigint

        the number to calculate log base 2

      Returns number

      the log base 2 of given number

      Error if number cannot be converted to log base 2