[M3devel] INTEGER and LONGINT on 64-bit systems

Tony Hosking hosking at cs.purdue.edu
Wed Aug 8 05:59:12 CEST 2007


Now I've checked in the LONGINT extensions, I am wondering if we  
shouldn't observe the following protocol for mapping INTEGER and  
LONGINT to C types.   Currently, we have the following:


		32-bit targets			64-bit targets

INTEGER		32 bits				64 bits
LONGINT		64 bits				64 bits
C long int	32 bits				32 bits
C long long     64 bits				64 bits

I wonder if we shouldn't simply identify INTEGER as 32-bit and  
LONGINT as 64-bit on all targets.  That way, INTEGER=long int and  
LONGINT=long long.

Comments?




More information about the M3devel mailing list