Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
gd_qnan.h
Go to the documentation of this file.
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__) || defined(__arm__)
17
18
#define f_QNAN 0x7fc00000
19
#define d_QNAN0 0x0
20
#define d_QNAN1 0x7ff80000
21
#define ld_QNAN0 0x0
22
#define ld_QNAN1 0xc0000000
23
#define ld_QNAN2 0x7fff
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 0x7fff
30
31
#else
32
#error unknown architecture
33
#endif
src
gdtoa
include
gd_qnan.h
Generated by
1.8.15