xref: /freebsd/lib/libc/powerpc64/gd_qnan.h (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1 /*
2  * MD header for contrib/gdtoa
3  *
4  * This file can be generated by compiling and running contrib/gdtoa/qnan.c
5  * on the target architecture after arith.h has been generated.
6  */
7 
8 #define f_QNAN 0x7fc00000
9 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
10 #define d_QNAN0 0x0
11 #define d_QNAN1 0x7ff80000
12 #define ld_QNAN0 0x0
13 #define ld_QNAN1 0x7ff80000
14 #define ld_QNAN2 0x0
15 #define ld_QNAN3 0x0
16 #define ldus_QNAN0 0x0
17 #define ldus_QNAN1 0x0
18 #define ldus_QNAN2 0x0
19 #define ldus_QNAN3 0x7ff8
20 #define ldus_QNAN4 0x0
21 #else
22 #define d_QNAN0 0x7ff80000
23 #define d_QNAN1 0x0
24 #define ld_QNAN0 0x7ff80000
25 #define ld_QNAN1 0x0
26 #define ld_QNAN2 0x0
27 #define ld_QNAN3 0x0
28 #define ldus_QNAN0 0x7ff8
29 #define ldus_QNAN1 0x0
30 #define ldus_QNAN2 0x0
31 #define ldus_QNAN3 0x0
32 #define ldus_QNAN4 0x0
33 #endif
34