Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Const-me
7 months ago
|
parent
|
context
|
favorite
| on:
Why those particular integer multiplies?
Found a bug in the article.
Maximum for signed bytes is +127, not +128. Minimum is correct, it's -128.
pornel
7 months ago
|
next
[–]
BTW, this asymmetry makes unary negation in C an unexpected source of Undefined Behavior.
Jerrrrrrry
7 months ago
|
prev
[–]
You can always tell when someone counts on their fingers.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Maximum for signed bytes is +127, not +128. Minimum is correct, it's -128.