nextPowerOf2

Computes next power of 2.

  1. int nextPowerOf2(int i)
  2. long nextPowerOf2(long i)
    @nogc pure nothrow
    long
    nextPowerOf2
    (
    long i
    )

Meta