Using more intuitive ~0 instead of -1 to set/check all the bits