xref: /freebsd/lib/libc/powerpc64/arith.h (revision 81ad6265)
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 
14 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
15 #define IEEE_8087
16 #define Arith_Kind_ASL 1
17 #else
18 #define IEEE_MC68k
19 #define Arith_Kind_ASL 2
20 #endif
21 #define Long int
22 #define Intcast (int)(long)
23 #define Double_Align
24 #define X64_bit_pointers
25