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