Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libc / arch / i386 / gen / nanf.c
blob070de9be80310c323845a87555564aa7d75d4136
1 /* $NetBSD: nanf.c,v 1.3 2005/04/15 22:39:11 kleink Exp $ */
3 #include <sys/cdefs.h>
4 #if defined(LIBC_SCCS) && !defined(lint)
5 __RCSID("$NetBSD: nanf.c,v 1.3 2005/04/15 22:39:11 kleink Exp $");
6 #endif /* LIBC_SCCS and not lint */
8 #include <math.h>
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.")