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

I wish more people read this, notably *nix platforms, and finally understand that long isn't 64bits on all 64bits platform...


Where is long not 64 bits?


If you use the LLP 64 bit programming model, long is 32 bit, and a new type is created 'long long' for 64 bit. 64 bit versions of Windows use the LLP model.

more info here:

http://en.wikipedia.org/wiki/64-bit#Specific_C-language_data...




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: