1*2fe8fb19SBen Gras /* $NetBSD: infinityl.c,v 1.2 2005/06/12 05:21:27 lukem Exp $ */ 2*2fe8fb19SBen Gras 3*2fe8fb19SBen Gras /* 4*2fe8fb19SBen Gras * IEEE-compatible infinityl.c for big-endian 128-bit format -- public domain. 5*2fe8fb19SBen Gras */ 6*2fe8fb19SBen Gras 7*2fe8fb19SBen Gras #include <sys/cdefs.h> 8*2fe8fb19SBen Gras #if defined(LIBC_SCCS) && !defined(lint) 9*2fe8fb19SBen Gras __RCSID("$NetBSD: infinityl.c,v 1.2 2005/06/12 05:21:27 lukem Exp $"); 10*2fe8fb19SBen Gras #endif /* LIBC_SCCS and not lint */ 11*2fe8fb19SBen Gras 12*2fe8fb19SBen Gras #include <math.h> 13*2fe8fb19SBen Gras 14*2fe8fb19SBen Gras const union __long_double_u __infinityl = 15*2fe8fb19SBen Gras { { 0x7f, 0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }; 16