29 Mar
2014
29 Mar
'14
12:28 a.m.
No, in gcc a "long" is 32-bits. That's why they introduced "long long", to support a 64-bit integer type without introducing compatibility problems or new keywords. The C standard requires only that "long" be at least 32 bits. At this point I would say gcc is the de facto reference implementation of C, and I would hardly call its creators imbeciles. Tom Joerg Arndt writes:
* Warren D Smith <warren.wds@gmail.com> [Mar 29. 2014 06:08]:
Let w be a 64-bit word ("unsigned long long," in C language).
unsigned long, unless you are using a platform whose makers are known imbeciles.