Flipping bits

  • + 0 comments

    public static long GetFlippingBits(long n) { uint binary = (uint)n; return ~binary; }