xref: /netbsd-src/lib/libc/arch/mips/gdtoa/gd_qnan.h (revision bd081d44b93f88128efe2ffbcc5a6ddcba7e5013)
1 /* $NetBSD: gd_qnan.h,v 1.2 2011/01/17 23:53:03 matt Exp $ */
2 
3 #include <machine/endian.h>
4 
5 #define f_QNAN 0x7fa00000
6 #if BYTE_ORDER == BIG_ENDIAN
7 #define d_QNAN0 0x7ff40000
8 #define d_QNAN1 0x0
9 #define ld_QNAN0 0x7fff8000
10 #define ld_QNAN1 0x0
11 #define ld_QNAN2 0x0
12 #define ld_QNAN3 0x0
13 #else
14 #define d_QNAN0 0x0
15 #define d_QNAN1 0x7ff40000
16 #define ld_QNAN0 0x0
17 #define ld_QNAN1 0x0
18 #define ld_QNAN2 0x0
19 #define ld_QNAN3 0x7fff8000
20 #endif
21