added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / ppc-all / mlib / infinity.c
bloba4b10ac93b46c7b322b262734a955b584acc021c
1 #include <sys/cdefs.h>
2 #if 0
3 #if defined(LIBC_SCCS) && !defined(lint)
4 __RCSID("$NetBSD: infinity.c,v 1.2 1998/11/14 19:31:02 christos Exp $");
5 #endif /* LIBC_SCCS and not lint */
6 #endif
7 __FBSDID("$FreeBSD: src/lib/libc/powerpc/gen/infinity.c,v 1.2 2003/02/08 20:37:53 mike Exp $");
9 /* infinity.c */
11 #include <math.h>
13 /* bytes for +Infinity on powerpc */
14 const union __infinity_un __infinity = { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } };
16 /* bytes for NaN */
17 const union __nan_un __nan = { { 0xff, 0xc0, 0, 0 } };