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#define IEEE_8087 22#define Arith_Kind_ASL 1 23#define Long int 24#define Intcast (int)(long) 25#define Double_Align 26#endif 27