3 ms·
Found a bug in the article. Maximum for signed bytes is +127, not +128. Minimum is correct, it's -128.
by Const-me 2y ago
Found a bug in the article.
Maximum for signed bytes is +127, not +128. Minimum is correct, it's -128.
- Jerrrrrrry 2y agoYou can always tell when someone counts on their fingers.
- pornel 2y agoBTW, this asymmetry makes unary negation in C an unexpected source of Undefined Behavior.