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