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