b6cbf7203b
This patch imports the unmodified current version of NetBSD libc. The NetBSD includes are in /nbsd_include, while the libc code itself is split between lib/nbsd_libc and common/lib/libc.
16 lines
534 B
C
16 lines
534 B
C
/* $NetBSD: infinityl.c,v 1.2 2005/06/12 05:21:27 lukem Exp $ */
|
|
|
|
/*
|
|
* IEEE-compatible infinityl.c for little-endian 80-bit format -- public domain.
|
|
* Note that the representation includes 48 bits of tail padding per amd64 ABI.
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
#if defined(LIBC_SCCS) && !defined(lint)
|
|
__RCSID("$NetBSD: infinityl.c,v 1.2 2005/06/12 05:21:27 lukem Exp $");
|
|
#endif /* LIBC_SCCS and not lint */
|
|
|
|
#include <math.h>
|
|
|
|
const union __long_double_u __infinityl =
|
|
{ { 0, 0, 0, 0, 0, 0, 0, 0x80, 0xff, 0x7f, 0, 0, 0, 0, 0, 0 } };
|