Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Sharlin
on Nov 26, 2022
|
parent
|
context
|
favorite
| on:
Figuring out round, floor and ceil with integer di...
Like all signed overflow, it's undefined behavior in C and C++, so what exactly happens is up to the gods of optimizing compilers.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: