minix/lib/nbsd_libc/arch/arm/gdtoa/gd_qnan.h
Gianluca Guida b6cbf7203b Import unmodified NetBSD libc in trunk
This patch imports the unmodified current version of NetBSD libc.
The NetBSD includes are in /nbsd_include, while the libc code itself is 
split between lib/nbsd_libc and common/lib/libc.
2011-02-14 19:36:03 +00:00

12 lines
256 B
C

/* $NetBSD: gd_qnan.h,v 1.1 2006/01/25 15:33:28 kleink Exp $ */
#include <machine/endian.h>
#define f_QNAN 0x7fc00000
#if BYTE_ORDER == BIG_ENDIAN
#define d_QNAN0 0x7ff80000
#define d_QNAN1 0x0
#else
#define d_QNAN0 0x0
#define d_QNAN1 0x7ff80000
#endif