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 Make these compile.



details:   https://anonhg.NetBSD.org/src/rev/2148f6762c63
branches:  trunk
changeset: 557879:2148f6762c63
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jan 20 19:29:43 2004 +0000

description:
Make these compile.

diffstat:

 lib/libc/arch/vax/gen/fpclassifyd.c |  14 +++++++-------
 lib/libc/arch/vax/gen/fpclassifyf.c |  12 ++++++------
 2 files changed, 13 insertions(+), 13 deletions(-)

diffs (70 lines):

diff -r 40e7f97f95a7 -r 2148f6762c63 lib/libc/arch/vax/gen/fpclassifyd.c
--- a/lib/libc/arch/vax/gen/fpclassifyd.c       Tue Jan 20 19:26:53 2004 +0000
+++ b/lib/libc/arch/vax/gen/fpclassifyd.c       Tue Jan 20 19:29:43 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpclassifyd.c,v 1.1 2004/01/15 19:43:45 kleink Exp $   */
+/*     $NetBSD: fpclassifyd.c,v 1.2 2004/01/20 19:29:43 matt Exp $     */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: fpclassifyd.c,v 1.1 2004/01/15 19:43:45 kleink Exp $");
+__RCSID("$NetBSD: fpclassifyd.c,v 1.2 2004/01/20 19:29:43 matt Exp $");
 #endif
 
 #include <machine/vaxfp.h>
@@ -61,12 +61,12 @@
 
        u.dfltu_d = x;
 
-       if (u.dfltu_d.dflt_exp == 0) {
-               if (u.dfltu_d.dflt_sign != 0)
+       if (u.dfltu_dflt.dflt_exp == 0) {
+               if (u.dfltu_dflt.dflt_sign != 0)
                        return FP_ROP;
-               else if (u.dfltu_d.dflt_frach != 0 ||
-                        u.dfltu_d.dflt_fracm != 0 ||
-                        u.dfltu_d.dflt_fracl != 0 ||) 
+               else if (u.dfltu_dflt.dflt_frach != 0 ||
+                        u.dfltu_dflt.dflt_fracm != 0 ||
+                        u.dfltu_dflt.dflt_fracl != 0) 
                        return FP_DIRTYZERO;
                else
                        return FP_ZERO;
diff -r 40e7f97f95a7 -r 2148f6762c63 lib/libc/arch/vax/gen/fpclassifyf.c
--- a/lib/libc/arch/vax/gen/fpclassifyf.c       Tue Jan 20 19:26:53 2004 +0000
+++ b/lib/libc/arch/vax/gen/fpclassifyf.c       Tue Jan 20 19:29:43 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpclassifyf.c,v 1.1 2004/01/15 19:43:45 kleink Exp $   */
+/*     $NetBSD: fpclassifyf.c,v 1.2 2004/01/20 19:29:43 matt Exp $     */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: fpclassifyf.c,v 1.1 2004/01/15 19:43:45 kleink Exp $");
+__RCSID("$NetBSD: fpclassifyf.c,v 1.2 2004/01/20 19:29:43 matt Exp $");
 #endif
 
 #include <machine/vaxfp.h>
@@ -61,11 +61,11 @@
 
        u.ffltu_f = x;
 
-       if (u.ffltu_f.fflt_exp == 0) {
-               if (u.ffltu_f.fflt_sign != 0)
+       if (u.ffltu_fflt.fflt_exp == 0) {
+               if (u.ffltu_fflt.fflt_sign != 0)
                        return FP_ROP;
-               else if (u.ffltu_f.fflt_frach != 0 ||
-                        u.ffltu_f.fflt_fracl != 0 ||) 
+               else if (u.ffltu_fflt.fflt_frach != 0 ||
+                        u.ffltu_fflt.fflt_fracl != 0) 
                        return FP_DIRTYZERO;
                else
                        return FP_ZERO;



Home | Main Index | Thread Index | Old Index