2 % (c) The GRASP Project, Glasgow University, 1998
4 \section[MachDeps]{Info/sizes of STG types}
6 NB: THIS FILE IS INCLUDED IN HASKELL SOURCE!
8 Definitions that characterise machine specific properties
9 of basic Stg types provided as unboxed types (mirrors the typedefs in StgTypes.)
17 #define CHAR_SIZE_IN_BYTES 1
18 #define ADDR_SIZE_IN_BYTES SIZEOF_VOID_P
19 #define INT_SIZE_IN_BYTES SIZEOF_LONG
20 #define WORD_SIZE_IN_BYTES SIZEOF_LONG
23 #define FLOAT_SIZE_IN_BYTES SIZEOF_DOUBLE
24 #define DOUBLE_SIZE_IN_BYTES SIZEOF_DOUBLE
26 #define FLOAT_SIZE_IN_BYTES SIZEOF_FLOAT
27 #define DOUBLE_SIZE_IN_BYTES SIZEOF_DOUBLE