2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
5 /* $Id: sizes.h,v 1.7 1994/06/27 08:02:17 ceriel Exp $ */
6 /* VARIOUS TARGET MACHINE SIZE DESCRIPTORS */
9 #include "trgt_sizes.h"
13 short_size, word_size, dword_size, int_size, long_size,
14 float_size, double_size, lngdbl_size,
17 extern arith max_int, max_unsigned; /* cstoper.c */
19 #define short_size ((arith)SZ_SHORT)
20 #define word_size ((arith)SZ_WORD)
21 #define dword_size ((arith)2*SZ_WORD)
22 #define int_size ((arith)SZ_INT)
23 #define long_size ((arith)SZ_LONG)
24 #define float_size ((arith)SZ_FLOAT)
25 #define double_size ((arith)SZ_DOUBLE)
26 #define lngdbl_size ((arith)SZ_LNGDBL)
27 #define pointer_size ((arith)SZ_POINTER)
30 #define max_int ((arith)32767)
31 #define max_unsigned ((arith)65535)
32 #else /* SZ_INT == 4 */
33 #define max_int ((arith)2147483647)
34 #define max_unsigned ((arith)4294967295)