Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
caf
on Jan 31, 2012
|
parent
|
context
|
favorite
| on:
Nearly all binary search and merge sort implementa...
INT_MAX == UINT_MAX is the only valid failing case, because elsewhere in the standard integer types are restricted to pure binary representations. This means that if UINT_MAX is greater than INT_MAX, it must be at least INT_MAX * 2 + 1.
pantaloons
on Jan 31, 2012
[–]
That can't actually be taken for granted, relevant Usenet discussion begins here:
http://groups.google.com/group/comp.std.c/browse_thread/thre...
caf
on Feb 1, 2012
|
parent
[–]
I concur with Dan Pop's interpretation.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: