Re:Static Integer Types
by nayuki on Thursday July 01, 2021 @12:27PM
(#27700892)
Yup. Alternatively ((0U + x) << 31). I first thought about this problem years ago: https://stackoverflow.com/questions/39964651/is-masking-befo...
[ Parent
| on HN ]
There are no comments on this comment yet.