xen-dev-utils
    Preparing search index...

    Function ceilPow2

    • Calculate the smallest power of two greater or equal to the input value.

      Parameters

      • x: number

        Value to compare to.

      Returns number

      Smallest 2**n such that x <= 2**n.