/* $NetBSD: ieee754_nanf.c,v 1.1 2002/02/19 13:08:13 simonb Exp $ */ #include #if defined(LIBC_SCCS) && !defined(lint) __RCSID("$NetBSD: ieee754_nanf.c,v 1.1 2002/02/19 13:08:13 simonb Exp $"); #endif /* LIBC_SCCS and not lint */ #include #include /* bytes for quiet NaN (IEEE single precision) */ const union __float_u __nanf = #if BYTE_ORDER == BIG_ENDIAN { { 0x7f, 0xc0, 0, 0 } }; #else { { 0, 0, 0xc0, 0x7f } }; #endif const union __float_u __nanf2 = {{ 0, 0, 0, 0}};