public static uint Zig(int value) { return (uint)((value << 1) ^ (value >> 31)); } public static ulong Zig(long value)