1 1.3.2.2 tron /* $NetBSD: nanf.c,v 1.3.2.2 2005/04/19 12:30:50 tron Exp $ */ 2 1.3.2.2 tron 3 1.3.2.2 tron #include <sys/cdefs.h> 4 1.3.2.2 tron #if defined(LIBC_SCCS) && !defined(lint) 5 1.3.2.2 tron __RCSID("$NetBSD: nanf.c,v 1.3.2.2 2005/04/19 12:30:50 tron Exp $"); 6 1.3.2.2 tron #endif /* LIBC_SCCS and not lint */ 7 1.3.2.2 tron 8 1.3.2.2 tron #include <math.h> 9 1.3.2.2 tron #include <machine/endian.h> 10 1.3.2.2 tron 11 1.3.2.2 tron /* bytes for quiet NaN (IEEE single precision) */ 12 1.3.2.2 tron const union __float_u __nanf = 13 1.3.2.2 tron #if BYTE_ORDER == BIG_ENDIAN 14 1.3.2.2 tron { { 0x7f, 0xc0, 0, 0 } }; 15 1.3.2.2 tron #else 16 1.3.2.2 tron { { 0, 0, 0xc0, 0x7f } }; 17 1.3.2.2 tron #endif 18