infinity.c revision 256281
179265Sdillon#include <sys/cdefs.h> 279265Sdillon#if 0 379265Sdillon#if defined(LIBC_SCCS) && !defined(lint) 479265Sdillon__RCSID("$NetBSD: infinity.c,v 1.2 1998/11/14 19:31:02 christos Exp $"); 5118848Simp#endif /* LIBC_SCCS and not lint */ 6118848Simp#endif 7118848Simp__FBSDID("$FreeBSD: stable/10/lib/libc/powerpc/gen/infinity.c 110566 2003-02-08 20:37:55Z mike $"); 8118848Simp 9118848Simp/* infinity.c */ 10118848Simp 11118848Simp#include <math.h> 12118848Simp 13118848Simp/* bytes for +Infinity on powerpc */ 14118848Simpconst union __infinity_un __infinity = { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } }; 15118848Simp 16118848Simp/* bytes for NaN */ 1779265Sdillonconst union __nan_un __nan = { { 0xff, 0xc0, 0, 0 } }; 18118848Simp