Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ajuc
on March 23, 2015
|
parent
|
context
|
favorite
| on:
Beating the compiler
It will wrap around both ways and correctly return 0. At least it does on my compiler, I never remember what is part of standard C and what is accident of implementation.
But it won't work for {2000000000, 2000000000}, as stated in the article.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
But it won't work for {2000000000, 2000000000}, as stated in the article.