Re:Bounded Integer: Header-only C++ library replaces integer...
by byuu on Monday September 30, 2019 @01:16AM
(#21111961)
Stop worrying about 9-bit bytes, only logical shift right for signed integers, ones-complement and sign-bit integers, etc and define this stuff in the standard. PDP-11 was a long time ago. C++20 is heading in the right direction with defining twos-complement. The next good step would be declaring signed overflow as wrapping (eg -fwrapv)
[ Parent
| on HN ]
There are no comments on this comment yet.