2 ms·
Although `~0` assumes twos-complement signed numbers. Which, well, is probably a safe assumption, but still.
by cryptonector 6y ago
Although `~0` assumes twos-complement signed numbers. Which, well, is probably a safe assumption, but still.
- IshKebab 6y agoAll modern computers use twos-complement and modern languages like Rust require it. Not assuming twos-complement is a theoretical nitpick along the lines of not assuming a byte is 8 bits. Nobody does that.