diff options
author | 2000-10-10 12:39:29 +0000 | |
---|---|---|
committer | 2000-10-10 12:39:29 +0000 | |
commit | 527a1d0b069d142eda9968d8a63cb67355f4a854 (patch) | |
tree | c5c8ab273f541bc58e1a695d368b4ac47d9d638d | |
parent | Descend vax subdirs. (diff) | |
download | wireguard-openbsd-527a1d0b069d142eda9968d8a63cb67355f4a854.tar.xz wireguard-openbsd-527a1d0b069d142eda9968d8a63cb67355f4a854.zip |
Fresh infinity from NetBSD.
-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 }; |