]> git.saurik.com Git - apple/libc.git/blob - gdtoa/gd_qnan.h
ea5fd60bba87021440af15133ac2dd5d9a0fbd58
[apple/libc.git] / gdtoa / gd_qnan.h
1 #if defined(__ppc__) || defined(__ppc64__)
2
3 #define f_QNAN 0x7fc00000
4 #define d_QNAN0 0x7ff80000
5 #define d_QNAN1 0x0
6 #define ld_QNAN0 0x7ff80000
7 #define ld_QNAN1 0x0
8 #define ld_QNAN2 0x0
9 #define ld_QNAN3 0x0
10 #define ldus_QNAN0 0x7ff8
11 #define ldus_QNAN1 0x0
12 #define ldus_QNAN2 0x0
13 #define ldus_QNAN3 0x0
14 #define ldus_QNAN4 0x0
15
16 #elif defined(__i386__) || defined(__x86_64__)
17
18 #define f_QNAN 0xffc00000
19 #define d_QNAN0 0x0
20 #define d_QNAN1 0xfff80000
21 #define ld_QNAN0 0x0
22 #define ld_QNAN1 0xc0000000
23 #define ld_QNAN2 0xffff
24 #define ld_QNAN3 0x0
25 #define ldus_QNAN0 0x0
26 #define ldus_QNAN1 0x0
27 #define ldus_QNAN2 0x0
28 #define ldus_QNAN3 0xc000
29 #define ldus_QNAN4 0xffff
30
31 #else
32 #error unknown architecture
33 #endif