nextPowerOf2

Computes next power of 2.

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

Meta