* Updating common/lib * Updating lib/csu * Updating lib/libc * Updating libexec/ld.elf_so * Corrected test on __minix in featuretest to actually follow the meaning of the comment. * Cleaned up _REENTRANT-related defintions. * Disabled -D_REENTRANT for libfetch * Removing some unneeded __NBSD_LIBC defines and tests Change-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2
16 lines
527 B
C
16 lines
527 B
C
/* $NetBSD: infinityl.c,v 1.4 2011/06/06 17:02:30 drochner Exp $ */
|
|
|
|
/*
|
|
* IEEE-compatible infinityl.c for little-endian 80-bit format -- public domain.
|
|
* Note that the representation includes 16 bits of tail padding per i386 ABI.
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
#if defined(LIBC_SCCS) && !defined(lint)
|
|
__RCSID("$NetBSD: infinityl.c,v 1.4 2011/06/06 17:02:30 drochner 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 } };
|