Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: 64 bit int



>For practical purposes (ie, working with existing code), int is 32
>bits.  Architectures with 64 bit ints do exist, of course (Alpha and I
>believe UltraSparc come to mind; purging ports of the int = 32 bits
>assumption is a regular complaint of Alpha programmers)

I write lots of code with the assumption that short is 16 bits and int and
long are 32 bits. Doesn't gcc have "long long" for 64-bit integers?

What is the portable-to-64 way of referring to 16 and 32 bit integers?

Darren


---------------------------------------------------------------
Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 12 December, 12:30 Tokyo Station Yaesu central gate
---------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links