fix long double infinity.

This commit is contained in:
christos 2011-04-06 21:55:36 +00:00
parent 3b8a1d51ed
commit 962e9ad63f

View File

@ -1,4 +1,4 @@
/* $NetBSD: infinityl.c,v 1.2 2005/06/12 05:21:26 lukem Exp $ */
/* $NetBSD: infinityl.c,v 1.3 2011/04/06 21:55:36 christos Exp $ */
/*
* IEEE-compatible infinityl.c for little-endian 80-bit format -- public domain.
@ -7,10 +7,10 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: infinityl.c,v 1.2 2005/06/12 05:21:26 lukem Exp $");
__RCSID("$NetBSD: infinityl.c,v 1.3 2011/04/06 21:55:36 christos 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, 0, 0, 0, 0, 0xff, 0x7f, 0, 0 } };