isPow2A

Check if x is an exact (binary) power of 2. * * See_Also: http://forum.dlang.org/thread/zumhmosfkvwjymjhmtlt@forum.dlang.org#post-fvnmurrctavpfkunssdf:40forum.dlang.org * See_Also: http://forum.dlang.org/post/hloonbgclzloqemycnth@forum.dlang.org

  1. alias isPowerOf2 = isPow2
  2. bool isPow2A(T x)
    bool
    isPow2A
    (
    T
    )
    (
    T x
    )
    if (
    isIntegral!T
    )
  3. bool isPow2B(T x)

Meta