1*f14fb602SLionel Sambuc /* $NetBSD: infinityl.c,v 1.4 2011/06/06 17:02:30 drochner Exp $ */ 22fe8fb19SBen Gras 32fe8fb19SBen Gras /* 42fe8fb19SBen Gras * IEEE-compatible infinityl.c for little-endian 80-bit format -- public domain. 52fe8fb19SBen Gras * Note that the representation includes 16 bits of tail padding per i386 ABI. 62fe8fb19SBen Gras */ 72fe8fb19SBen Gras 82fe8fb19SBen Gras #include <sys/cdefs.h> 92fe8fb19SBen Gras #if defined(LIBC_SCCS) && !defined(lint) 10*f14fb602SLionel Sambuc __RCSID("$NetBSD: infinityl.c,v 1.4 2011/06/06 17:02:30 drochner Exp $"); 112fe8fb19SBen Gras #endif /* LIBC_SCCS and not lint */ 122fe8fb19SBen Gras 132fe8fb19SBen Gras #include <math.h> 142fe8fb19SBen Gras 152fe8fb19SBen Gras const union __long_double_u __infinityl = 162fe8fb19SBen Gras { { 0, 0, 0, 0, 0, 0, 0, 0x80, 0xff, 0x7f, 0, 0 } }; 17