diff options
author | Hugh Graham <hugh@cvs.openbsd.org> | 2000-10-10 12:39:30 +0000 |
---|---|---|
committer | Hugh Graham <hugh@cvs.openbsd.org> | 2000-10-10 12:39:30 +0000 |
commit | 43f627e7eaed75604d56c7dd65549e3a041b04ae (patch) | |
tree | 30efedbea710d76fc028cdf61c410f108e4879e3 /lib/libc/arch/vax | |
parent | aeb0579cc45919744a2d86c70a594adc64131098 (diff) |
Fresh infinity from NetBSD.
Diffstat (limited to 'lib/libc/arch/vax')
-rw-r--r-- | lib/libc/arch/vax/gen/infinity.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/arch/vax/gen/infinity.c b/lib/libc/arch/vax/gen/infinity.c index 7a9eabf337e..1fb9fc11c92 100644 --- a/lib/libc/arch/vax/gen/infinity.c +++ b/lib/libc/arch/vax/gen/infinity.c @@ -1,14 +1,15 @@ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: infinity.c,v 1.2 1996/08/19 08:18:25 tholo Exp $"; +static char rcsid[] = "$OpenBSD: infinity.c,v 1.3 2000/10/10 12:39:29 hugh Exp $"; #endif /* LIBC_SCCS and not lint */ /* - * XXX - THIS IS (probably) COMPLETELY WRONG ON VAX!!! + * XXX - This is not correct, but what can we do about it? */ /* infinity.c */ #include <math.h> -/* bytes for +Infinity on a 387 */ -char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f }; +/* The highest D float on a vax. */ +char __infinity[] = { (char)0xff, (char)0x7f, (char)0xff, (char)0xff, + (char)0xff, (char)0xff, (char)0xff, (char)0xff }; |