1107571Sgrehan#include <sys/cdefs.h> 2107571Sgrehan#if 0 3107571Sgrehan#if defined(LIBC_SCCS) && !defined(lint) 4107571Sgrehan__RCSID("$NetBSD: infinity.c,v 1.2 1998/11/14 19:31:02 christos Exp $"); 5107571Sgrehan#endif /* LIBC_SCCS and not lint */ 6107571Sgrehan#endif 7107571Sgrehan__FBSDID("$FreeBSD$"); 8107571Sgrehan 9107571Sgrehan/* infinity.c */ 10107571Sgrehan 11107571Sgrehan#include <math.h> 12107571Sgrehan 13107571Sgrehan/* bytes for +Infinity on powerpc */ 14107571Sgrehanconst union __infinity_un __infinity = { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } }; 15110566Smike 16110566Smike/* bytes for NaN */ 17110566Smikeconst union __nan_un __nan = { { 0xff, 0xc0, 0, 0 } }; 18