xref: /freebsd/lib/libc/powerpc64/gd_qnan.h (revision ba3c1f5972d7b90feb6e6da47905ff2757e0fe57)
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  * $FreeBSD$
8  */
9 
10 #define f_QNAN 0x7fc00000
11 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
12 #define d_QNAN0 0x0
13 #define d_QNAN1 0x7ff80000
14 #define ld_QNAN0 0x0
15 #define ld_QNAN1 0x7ff80000
16 #define ld_QNAN2 0x0
17 #define ld_QNAN3 0x0
18 #define ldus_QNAN0 0x0
19 #define ldus_QNAN1 0x0
20 #define ldus_QNAN2 0x0
21 #define ldus_QNAN3 0x7ff8
22 #define ldus_QNAN4 0x0
23 #else
24 #define d_QNAN0 0x7ff80000
25 #define d_QNAN1 0x0
26 #define ld_QNAN0 0x7ff80000
27 #define ld_QNAN1 0x0
28 #define ld_QNAN2 0x0
29 #define ld_QNAN3 0x0
30 #define ldus_QNAN0 0x7ff8
31 #define ldus_QNAN1 0x0
32 #define ldus_QNAN2 0x0
33 #define ldus_QNAN3 0x0
34 #define ldus_QNAN4 0x0
35 #endif
36