1 /* 2 * MD header for contrib/gdtoa 3 * 4 * $FreeBSD$ 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 #include <machine/endian.h> 14 15 #if BYTE_ORDER == BIG_ENDIAN 16 #define IEEE_MC68k 17 #define Arith_Kind_ASL 2 18 #define Double_Align 19 #else 20 /* TODO: Generate these values on a LE machine */ 21 /* Current values were stolen from ia64 except the 22 * Xpointer define. 23 */ 24 #define IEEE_8087 25 #define Arith_Kind_ASL 1 26 #define Long int 27 #define Intcast (int)(long) 28 #define Double_Align 29 #endif 30