Re: INTEGER's destiny
"Richard A. O'Keefe" <[email protected]> Wed, 13 Dec 2006 18:23:52 +1300 (NZDT)
| Newsgroups | gmane.comp.lang.eiffel.smalleiffel |
|---|---|
| Message-ID | <[email protected]> |
Someone wrote: > I thought on 64 bits plateform, the C 'int' type was still 32 bits > sized, while 'long int' was 64 bits. Am I wrong? Yes, that person is wrong. At the moment I have access to three different 64-bit machines. On one of them a long int is 8 bytes, but on the other two it is 4 bytes. 'long' is only guaranteed to be at least 32 bits. The usual way to get 64 bits is 'long long', or the new int64_t.