Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ctdonath
on April 12, 2012
|
parent
|
context
|
favorite
| on:
'9223372036854775807' == '9223372036854775808'
There's a difference between strncmp existing precisely so you can specify how many characters to compare, vs. throwing away trailing characters in a string just because, by sheer chance, it contains only numerics.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: