diff options
author | grehan <grehan@FreeBSD.org> | 2002-12-04 07:25:14 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2002-12-04 07:25:14 +0000 |
commit | 16182748bd767da05374d4687e4976d703d39028 (patch) | |
tree | 260e73d80716d99d635100e1790ad33c9eafd2d8 /lib/libc/powerpc/gen/infinity.c | |
parent | 4cbd3579e8878cad97d4f548794bbb79d66c23c8 (diff) | |
download | FreeBSD-src-16182748bd767da05374d4687e4976d703d39028.zip FreeBSD-src-16182748bd767da05374d4687e4976d703d39028.tar.gz |
Minimal libc for PowerPC.
Reviewed by: benno
Approved by: re (blanket)
Diffstat (limited to 'lib/libc/powerpc/gen/infinity.c')
-rw-r--r-- | lib/libc/powerpc/gen/infinity.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libc/powerpc/gen/infinity.c b/lib/libc/powerpc/gen/infinity.c new file mode 100644 index 0000000..428f24d --- /dev/null +++ b/lib/libc/powerpc/gen/infinity.c @@ -0,0 +1,14 @@ +#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$"); + +/* infinity.c */ + +#include <math.h> + +/* bytes for +Infinity on powerpc */ +const union __infinity_un __infinity = { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } }; |