nextPowerOf2

Computes next power of 2.

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

Meta