Newer
Older
UbixOS / lib / libc_bsd / powerpc64 / gen / infinity.c
#include <sys/cdefs.h>
#if 0
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: infinity.c,v 1.2 1998/11/14 19:31:02 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#endif
__FBSDID("$FreeBSD: releng/10.2/lib/libc/powerpc64/gen/infinity.c 209878 2010-07-10 14:45:03Z nwhitehorn $");

/* infinity.c */

#include <math.h>

/* bytes for +Infinity on powerpc */
const union __infinity_un __infinity = { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } };

/* bytes for NaN */
const union __nan_un __nan = { { 0xff, 0xc0, 0, 0 } };