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