Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/lib/libc/arch/vax/gen Pull up to HEAD 1.6, per Anders M...



details:   https://anonhg.NetBSD.org/src/rev/51b581f6703b
branches:  netbsd-1-4
changeset: 468346:51b581f6703b
user:      cjs <cjs%NetBSD.org@localhost>
date:      Mon Apr 19 04:36:28 1999 +0000

description:
Pull up to HEAD 1.6, per Anders Magnusson <ragge%ludd.luth.se@localhost>.

diffstat:

 lib/libc/arch/vax/gen/infinity.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r ade2325f5b2f -r 51b581f6703b lib/libc/arch/vax/gen/infinity.c
--- a/lib/libc/arch/vax/gen/infinity.c  Mon Apr 19 04:34:55 1999 +0000
+++ b/lib/libc/arch/vax/gen/infinity.c  Mon Apr 19 04:36:28 1999 +0000
@@ -1,16 +1,17 @@
-/*     $NetBSD: infinity.c,v 1.5 1998/11/14 19:31:02 christos Exp $    */
+/*     $NetBSD: infinity.c,v 1.5.2.1 1999/04/19 04:36:28 cjs Exp $     */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: infinity.c,v 1.5 1998/11/14 19:31:02 christos Exp $");
+__RCSID("$NetBSD: infinity.c,v 1.5.2.1 1999/04/19 04:36:28 cjs Exp $");
 #endif /* 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 */
-const char __infinity[] = { 0, 0, 0, 0, 0, 0, (char)0xf0, 0x7f };
+/* The highest D float on a vax. */
+const char __infinity[] = { (char)0xff, (char)0x7f, (char)0xff, (char)0xff,
+       (char)0xff, (char)0xff, (char)0xff, (char)0xff };



Home | Main Index | Thread Index | Old Index