Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/vax/gen Adjust for changes to __infinity decl.



details:   https://anonhg.NetBSD.org/src/rev/f6cb0c203ab9
branches:  trunk
changeset: 522471:f6cb0c203ab9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Feb 19 21:50:01 2002 +0000

description:
Adjust for changes to __infinity decl.

diffstat:

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

diffs (22 lines):

diff -r 5a38e9029b61 -r f6cb0c203ab9 lib/libc/arch/vax/gen/infinity.c
--- a/lib/libc/arch/vax/gen/infinity.c  Tue Feb 19 21:46:17 2002 +0000
+++ b/lib/libc/arch/vax/gen/infinity.c  Tue Feb 19 21:50:01 2002 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: infinity.c,v 1.7 2000/09/13 22:32:27 msaitoh Exp $     */
+/*     $NetBSD: infinity.c,v 1.8 2002/02/19 21:50:01 thorpej Exp $     */
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: infinity.c,v 1.7 2000/09/13 22:32:27 msaitoh Exp $");
+__RCSID("$NetBSD: infinity.c,v 1.8 2002/02/19 21:50:01 thorpej Exp $");
 #endif /* LIBC_SCCS and not lint */
 /*
  * XXX - This is not correct, but what can we do about it???
@@ -13,5 +13,5 @@
 #include <math.h>
 
 /* 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 };
+const union __double_u __infinity =
+       { { 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff } };



Home | Main Index | Thread Index | Old Index