Difference between revisions of "Typesize.txt"

From WTFwiki
Jump to navigation Jump to search
(New page: This pages records the results obtained by compiling and running [http://eagle.bsd.st/~jontow/typesize.txt typesize.c] on various platforms. If you have access to an OS/Platform not listed...)
 
m (1 revision)
(No difference)

Revision as of 22:50, 4 January 2013

This pages records the results obtained by compiling and running typesize.c on various platforms. If you have access to an OS/Platform not listed, feel free to add additional results.

                short   int     long    long^2  float   double  long double
Minix/i286      2       2       4       N/A     4       8       8
Minix/i486      2       4       4       N/A     4       8       8
FreeBSD/i686    2       4       4       8       4       8       12
OpenBSD/amd64   2       4       8       8       4       8       16
NetBSD/sparc32  2       4       4       8       4       8       8
OpenBSD/sparc64 2       4       8       8       4       8       16
NetBSD/alpha    2       4       8       8       4       8       8
HP-UX/hppa      2       4       4       8       4       8       8
AIX/power/32bit 2       4       4       8       4       8       8
AIX/power/64bit 2       4       8       8       4       8       8
IRIX/mips       2       4       4       8       4       8       16