Re:Almost Always Unsigned
by Flocular on Sunday January 02, 2022 @06:23AM
(#29767839)
What fans of unsigned integers seem to really want is array access in the form of x[i %mod% LEN]. While signed integers "kind of" give you an error on overflow (Except your unlucky or somebody was malicious).
Is there a way to combine both? As in give me an error on overflow for "debug builds" and always mod-LEN on "release builds"?
[ Parent
| on HN ]
There are no comments on this comment yet.