1/* $NetBSD: nanf.c,v 1.1 2014/09/03 19:34:25 matt Exp $ */ 2 3#include <sys/cdefs.h> 4#if defined(LIBC_SCCS) && !defined(lint) 5__RCSID("$NetBSD: nanf.c,v 1.1 2014/09/03 19:34:25 matt Exp $"); 6#endif /* LIBC_SCCS and not lint */ 7 8#include <math.h> 9#include <machine/endian.h> 10 11/* bytes for quiet NaN (IEEE single precision) */ 12const union __float_u __nanf = 13 { { 0x7f, 0xc0, 0, 0 } }; 14 15__warn_references(__nanf, "warning: <math.h> defines NAN incorrectly for your compiler.") 16