Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lelanthran
5 days ago
|
parent
|
context
|
favorite
| on:
C and C++ prioritize performance over correctness ...
> Nitpicking, the test itself should avoid overflowing.
Why? Overflowing is well defined for unsigned.
amavect
4 days ago
[–]
Personal preference, hence nitpicking. It forms a special case of the signed integer algorithm, which feels nice.
reply
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Why? Overflowing is well defined for unsigned.