3 ms·
Proposal for a Friendly Dialect of C
- gus_massa 9y ago> 3.Shift by negative or shift-past-bitwidth produces an unspecified result. I never understood why this is not defined as something that returns 0 (or -1 for a signed negative number, with a long right shift).