]> git.saurik.com Git - apple/libc.git/blame - gdtoa/gd_qnan.h
Libc-594.9.5.tar.gz
[apple/libc.git] / gdtoa / gd_qnan.h
CommitLineData
3d9156a7
A
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
b5d655f7 16#elif defined(__i386__) || defined(__x86_64__) || defined(__arm__)
3d9156a7 17
34e8f829 18#define f_QNAN 0x7fc00000
3d9156a7 19#define d_QNAN0 0x0
34e8f829 20#define d_QNAN1 0x7ff80000
3d9156a7
A
21#define ld_QNAN0 0x0
22#define ld_QNAN1 0xc0000000
34e8f829 23#define ld_QNAN2 0x7fff
3d9156a7
A
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
34e8f829 29#define ldus_QNAN4 0x7fff
3d9156a7
A
30
31#else
32#error unknown architecture
33#endif