Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
caf
on June 4, 2012
|
parent
|
context
|
favorite
| on:
A Quiz About Integers in C
It's not true that (unsigned)INT_MAX + 1 is never 0 - it's allowed for UINT_MAX == INT_MAX (leaving the sign bit unused in the unsigned representation). I've never seen such an implementation, though.
jacquesgt
on June 4, 2012
[–]
Yep, you're right.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: