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