Typesize.txt

From WTFwiki
Revision as of 18:26, 25 March 2010 by Andrew (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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