Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The C99 language standard requires support for long long.


But an implementation where sizeof(int) == sizeof(long) == sizeof(long long) is allowed by the specification.


On a (slightly) more practical level: there exists some largest integer type. You may someday need to sort it. If you want your sort to always work, you can't afford to overflow.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: