Home | History | Annotate | Line # | Download | only in gen
      1 /*	$NetBSD: infinityl.c,v 1.4 2011/06/06 17:02:29 drochner Exp $	*/
      2 
      3 /*
      4  * IEEE-compatible infinityl.c for little-endian 80-bit format -- public domain.
      5  * Note that the representation includes 48 bits of tail padding per amd64 ABI.
      6  */
      7 
      8 #include <sys/cdefs.h>
      9 #if defined(LIBC_SCCS) && !defined(lint)
     10 __RCSID("$NetBSD: infinityl.c,v 1.4 2011/06/06 17:02:29 drochner Exp $");
     11 #endif /* LIBC_SCCS and not lint */
     12 
     13 #include <math.h>
     14 
     15 const union __long_double_u __infinityl =
     16 	{ { 0, 0, 0, 0, 0, 0, 0, 0x80, 0xff, 0x7f, 0, 0, 0, 0, 0, 0 } };
     17