xref: /freebsd/lib/libc/powerpc64/arith.h (revision 02e9120893770924227138ba49df1edb3896112a)
1 /*
2  * MD header for contrib/gdtoa
3  */
4 
5 /*
6  * NOTE: The definitions in this file must be correct or strtod(3) and
7  * floating point formats in printf(3) will break!  The file can be
8  * generated by running contrib/gdtoa/arithchk.c on the target
9  * architecture.  See contrib/gdtoa/gdtoaimp.h for details.
10  */
11 
12 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
13 #define IEEE_8087
14 #define Arith_Kind_ASL 1
15 #else
16 #define IEEE_MC68k
17 #define Arith_Kind_ASL 2
18 #endif
19 #define Long int
20 #define Intcast (int)(long)
21 #define Double_Align
22 #define X64_bit_pointers
23