1 /* 2 * MD header for contrib/gdtoa 3 * 4 * $FreeBSD: stable/9/lib/libc/ia64/arith.h 114839 2003-05-08 13:50:44Z das $ 5 */ 6 7 /* 8 * NOTE: The definitions in this file must be correct or strtod(3) and 9 * floating point formats in printf(3) will break! The file can be 10 * generated by running contrib/gdtoa/arithchk.c on the target 11 * architecture. See contrib/gdtoa/gdtoaimp.h for details. 12 */ 13 14 #include <machine/endian.h> 15 16 #if _BYTE_ORDER == _LITTLE_ENDIAN 17 18 #define IEEE_8087 19 #define Arith_Kind_ASL 1 20 #define Long int 21 #define Intcast (int)(long) 22 #define Double_Align 23 #define X64_bit_pointers 24 25 #else /* _BYTE_ORDER == _LITTLE_ENDIAN */ 26 27 #define IEEE_MC68k 28 #define Arith_Kind_ASL 2 29 #define Long int 30 #define Intcast (int)(long) 31 #define Double_Align 32 #define X64_bit_pointers 33 #ifdef gcc_bug /* XXX Why does arithchk report sudden underflow here? */ 34 #define Sudden_Underflow 35 #endif 36 37 #endif 38