1 /* $NetBSD: nanf.c,v 1.5 2009/02/22 01:34:01 martin Exp $ */
4 #if defined(LIBC_SCCS) && !defined(lint)
5 __RCSID("$NetBSD: nanf.c,v 1.5 2009/02/22 01:34:01 martin Exp $");
6 #endif /* LIBC_SCCS and not lint */
9 #include <machine/endian.h>
11 /* bytes for quiet NaN (IEEE single precision) */
12 const union __float_u __nanf
=
13 { { 0, 0, 0xc0, 0x7f } };
15 __warn_references(__nanf
, "warning: <math.h> defines NAN incorrectly for your compiler.")