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

Screwed up on the 4th question by mistakenly assuming the minimum standard-allowed magnitude of INT_{MIN,MAX} implied int was at least 32 bits. While that's true for LONG_{MIN,MAX} and long, int can be a mere 16 bits.

Good to have had that mistaken bit of errata corrected.



A very long time ago, the Microsoft C/C++ compiler used 16 bit ints. I had a boss that insisted we use long instead of int because he had been burned by this. Hadn't been a problem for at least 20 years, but that didn't matter to him.




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

Search: