Home | History | Annotate | Line # | Download | only in gen
infinityl.c revision 1.3.2.1
      1  1.3.2.1  cherry /*	$NetBSD: infinityl.c,v 1.3.2.1 2011/06/23 14:18:36 cherry 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.3.2.1  cherry __RCSID("$NetBSD: infinityl.c,v 1.3.2.1 2011/06/23 14:18:36 cherry 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.3.2.1  cherry 	{ { 0, 0, 0, 0, 0, 0, 0, 0x80, 0xff, 0x7f, 0, 0, 0, 0, 0, 0 } };
     17