Am Samstag, 9. Oktober 2004 18:31 schrieb Mike Nordell:
Another thing to perhaps consider/look into is - what will happen when a single "long" is 64 bits (on a 64-bit CPU)? Will then "long long" be 128 bits? If so, any names containing "long long" or any variations thereof will then obviously be wrong if what's intended in the code is specifically a 64-bit value.
afaik the garantees are: char <= short <= int <= long <= long long and sizeof(char)==1 (thus the other types can only be n chars wide)
it might be better to actually use/define [u]intX_t somewhere and stick to those for code that depends on those ranges.
patrick mauritz