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