Home | History | Annotate | Line # | Download | only in gen
nanf.c revision 1.1
      1  1.1  ross /*	$NetBSD: nanf.c,v 1.1 2006/07/01 16:37:20 ross Exp $	*/
      2  1.1  ross 
      3  1.1  ross #include <sys/cdefs.h>
      4  1.1  ross #if defined(LIBC_SCCS) && !defined(lint)
      5  1.1  ross __RCSID("$NetBSD: nanf.c,v 1.1 2006/07/01 16:37:20 ross Exp $");
      6  1.1  ross #endif /* LIBC_SCCS and not lint */
      7  1.1  ross 
      8  1.1  ross #include <math.h>
      9  1.1  ross #include <machine/endian.h>
     10  1.1  ross 
     11  1.1  ross /* bytes for quiet NaN (IEEE single precision) */
     12  1.1  ross const union __float_u __nanf =
     13  1.1  ross 		{ { 0x7f, 0xc0,    0,    0 } };
     14