From 964d6747b5efd57d587dda24f1a45fb96a2e5bf2 Mon Sep 17 00:00:00 2001 From: kleink Date: Mon, 27 Oct 2003 01:11:46 +0000 Subject: [PATCH] Err, rename some members added in previous to make them reflect their semantics better. --- lib/libc/arch/hppa/gen/isinfl.c | 10 +++++----- lib/libc/arch/hppa/gen/isnanl.c | 10 +++++----- lib/libc/arch/i386/gen/isinfl.c | 10 +++++----- lib/libc/arch/i386/gen/isnanl.c | 10 +++++----- lib/libc/arch/m68k/gen/isinfl.c | 8 ++++---- lib/libc/arch/m68k/gen/isnanl.c | 10 +++++----- lib/libc/arch/sparc64/gen/isinfl.c | 10 +++++----- lib/libc/arch/sparc64/gen/isnanl.c | 10 +++++----- lib/libc/arch/x86_64/gen/isinfl.c | 10 +++++----- lib/libc/arch/x86_64/gen/isnanl.c | 10 +++++----- sys/arch/hppa/include/ieee.h | 4 ++-- sys/arch/m68k/include/ieee.h | 4 ++-- sys/arch/sparc/include/ieee.h | 4 ++-- sys/arch/x86/include/ieee.h | 4 ++-- sys/sys/ieee754.h | 4 ++-- 15 files changed, 59 insertions(+), 59 deletions(-) diff --git a/lib/libc/arch/hppa/gen/isinfl.c b/lib/libc/arch/hppa/gen/isinfl.c index e661a32655ef..000c53537ac5 100644 --- a/lib/libc/arch/hppa/gen/isinfl.c +++ b/lib/libc/arch/hppa/gen/isinfl.c @@ -1,4 +1,4 @@ -/* $NetBSD: isinfl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $ */ +/* $NetBSD: isinfl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isinfl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $"); +__RCSID("$NetBSD: isinfl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -61,7 +61,7 @@ isinfl(long double ld) union ieee_ext_u u; u.extu_ld = ld; - return (u.extu_ldbl.ext_exp == EXT_EXP_INFNAN && - (u.extu_ldbl.ext_frach == 0 && u.extu_ldbl.ext_frachm == 0 && - u.extu_ldbl.ext_fraclm == 0 && u.extu_ldbl.ext_fracl == 0)); + return (u.extu_ext.ext_exp == EXT_EXP_INFNAN && + (u.extu_ext.ext_frach == 0 && u.extu_ext.ext_frachm == 0 && + u.extu_ext.ext_fraclm == 0 && u.extu_ext.ext_fracl == 0)); } diff --git a/lib/libc/arch/hppa/gen/isnanl.c b/lib/libc/arch/hppa/gen/isnanl.c index ff9d82e435d2..f83ead497e3a 100644 --- a/lib/libc/arch/hppa/gen/isnanl.c +++ b/lib/libc/arch/hppa/gen/isnanl.c @@ -1,4 +1,4 @@ -/* $NetBSD: isnanl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $ */ +/* $NetBSD: isnanl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isnanl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $"); +__RCSID("$NetBSD: isnanl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -61,7 +61,7 @@ isnanl(long double ld) union ieee_ext_u u; u.extu_ld = ld; - return (u.extu_ldbl.ext_exp == EXT_EXP_INFNAN && - (u.extu_ldbl.ext_frach != 0 || u.extu_ldbl.ext_frachm != 0 || - u.extu_ldbl.ext_fraclm != 0 || u.extu_ldbl.ext_fracl != 0)); + return (u.extu_ext.ext_exp == EXT_EXP_INFNAN && + (u.extu_ext.ext_frach != 0 || u.extu_ext.ext_frachm != 0 || + u.extu_ext.ext_fraclm != 0 || u.extu_ext.ext_fracl != 0)); } diff --git a/lib/libc/arch/i386/gen/isinfl.c b/lib/libc/arch/i386/gen/isinfl.c index 2216dedf25b7..6cb2e839a299 100644 --- a/lib/libc/arch/i386/gen/isinfl.c +++ b/lib/libc/arch/i386/gen/isinfl.c @@ -1,4 +1,4 @@ -/* $NetBSD: isinfl.c,v 1.3 2003/10/27 00:05:46 kleink Exp $ */ +/* $NetBSD: isinfl.c,v 1.4 2003/10/27 01:11:46 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isinfl.c,v 1.3 2003/10/27 00:05:46 kleink Exp $"); +__RCSID("$NetBSD: isinfl.c,v 1.4 2003/10/27 01:11:46 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -61,7 +61,7 @@ isinfl(long double ld) union ieee_ext_u u; u.extu_ld = ld; - return (u.extu_ldbl.ext_exp == EXT_EXP_INFNAN && - (u.extu_ldbl.ext_int == 1 && - u.extu_ldbl.ext_frach == 0 && u.extu_ldbl.ext_fracl == 0)); + return (u.extu_ext.ext_exp == EXT_EXP_INFNAN && + (u.extu_ext.ext_int == 1 && + u.extu_ext.ext_frach == 0 && u.extu_ext.ext_fracl == 0)); } diff --git a/lib/libc/arch/i386/gen/isnanl.c b/lib/libc/arch/i386/gen/isnanl.c index 27303dae1a40..35eede44783e 100644 --- a/lib/libc/arch/i386/gen/isnanl.c +++ b/lib/libc/arch/i386/gen/isnanl.c @@ -1,4 +1,4 @@ -/* $NetBSD: isnanl.c,v 1.3 2003/10/27 00:05:46 kleink Exp $ */ +/* $NetBSD: isnanl.c,v 1.4 2003/10/27 01:11:46 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isnanl.c,v 1.3 2003/10/27 00:05:46 kleink Exp $"); +__RCSID("$NetBSD: isnanl.c,v 1.4 2003/10/27 01:11:46 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -61,7 +61,7 @@ isnanl(long double ld) union ieee_ext_u u; u.extu_ld = ld; - return (u.extu_ldbl.ext_exp == EXT_EXP_INFNAN && - u.extu_ldbl.ext_int == 1 && - (u.extu_ldbl.ext_frach != 0 || u.extu_ldbl.ext_fracl != 0)); + return (u.extu_ext.ext_exp == EXT_EXP_INFNAN && + u.extu_ext.ext_int == 1 && + (u.extu_ext.ext_frach != 0 || u.extu_ext.ext_fracl != 0)); } diff --git a/lib/libc/arch/m68k/gen/isinfl.c b/lib/libc/arch/m68k/gen/isinfl.c index f476bf88dd1d..f599a285bfaf 100644 --- a/lib/libc/arch/m68k/gen/isinfl.c +++ b/lib/libc/arch/m68k/gen/isinfl.c @@ -1,4 +1,4 @@ -/* $NetBSD: isinfl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $ */ +/* $NetBSD: isinfl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isinfl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $"); +__RCSID("$NetBSD: isinfl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -62,6 +62,6 @@ isinfl(long double ld) u.extu_ld = ld; /* Note: the explicit integer bit is "don't care". */ - return (u.extu_ldbl.ext_exp == EXT_EXP_INFNAN && - (u.extu_ldbl.ext_frach == 0 && u.extu_ldbl.ext_fracl == 0)); + return (u.extu_ext.ext_exp == EXT_EXP_INFNAN && + (u.extu_ext.ext_frach == 0 && u.extu_ext.ext_fracl == 0)); } diff --git a/lib/libc/arch/m68k/gen/isnanl.c b/lib/libc/arch/m68k/gen/isnanl.c index da2d72175264..8639d3114a56 100644 --- a/lib/libc/arch/m68k/gen/isnanl.c +++ b/lib/libc/arch/m68k/gen/isnanl.c @@ -1,4 +1,4 @@ -/* $NetBSD: isnanl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $ */ +/* $NetBSD: isnanl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isnanl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $"); +__RCSID("$NetBSD: isnanl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -61,7 +61,7 @@ isnanl(long double ld) union ieee_ext_u u; u.extu_ld = ld; - return (u.extu_ldbl.ext_exp == EXT_EXP_INFNAN && - (u.extu_ldbl.ext_int != 0 || - u.extu_ldbl.ext_frach != 0 || u.extu_ldbl.ext_fracl != 0)); + return (u.extu_ext.ext_exp == EXT_EXP_INFNAN && + (u.extu_ext.ext_int != 0 || + u.extu_ext.ext_frach != 0 || u.extu_ext.ext_fracl != 0)); } diff --git a/lib/libc/arch/sparc64/gen/isinfl.c b/lib/libc/arch/sparc64/gen/isinfl.c index e661a32655ef..000c53537ac5 100644 --- a/lib/libc/arch/sparc64/gen/isinfl.c +++ b/lib/libc/arch/sparc64/gen/isinfl.c @@ -1,4 +1,4 @@ -/* $NetBSD: isinfl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $ */ +/* $NetBSD: isinfl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isinfl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $"); +__RCSID("$NetBSD: isinfl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -61,7 +61,7 @@ isinfl(long double ld) union ieee_ext_u u; u.extu_ld = ld; - return (u.extu_ldbl.ext_exp == EXT_EXP_INFNAN && - (u.extu_ldbl.ext_frach == 0 && u.extu_ldbl.ext_frachm == 0 && - u.extu_ldbl.ext_fraclm == 0 && u.extu_ldbl.ext_fracl == 0)); + return (u.extu_ext.ext_exp == EXT_EXP_INFNAN && + (u.extu_ext.ext_frach == 0 && u.extu_ext.ext_frachm == 0 && + u.extu_ext.ext_fraclm == 0 && u.extu_ext.ext_fracl == 0)); } diff --git a/lib/libc/arch/sparc64/gen/isnanl.c b/lib/libc/arch/sparc64/gen/isnanl.c index ff9d82e435d2..f83ead497e3a 100644 --- a/lib/libc/arch/sparc64/gen/isnanl.c +++ b/lib/libc/arch/sparc64/gen/isnanl.c @@ -1,4 +1,4 @@ -/* $NetBSD: isnanl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $ */ +/* $NetBSD: isnanl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isnanl.c,v 1.2 2003/10/27 00:05:46 kleink Exp $"); +__RCSID("$NetBSD: isnanl.c,v 1.3 2003/10/27 01:11:46 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -61,7 +61,7 @@ isnanl(long double ld) union ieee_ext_u u; u.extu_ld = ld; - return (u.extu_ldbl.ext_exp == EXT_EXP_INFNAN && - (u.extu_ldbl.ext_frach != 0 || u.extu_ldbl.ext_frachm != 0 || - u.extu_ldbl.ext_fraclm != 0 || u.extu_ldbl.ext_fracl != 0)); + return (u.extu_ext.ext_exp == EXT_EXP_INFNAN && + (u.extu_ext.ext_frach != 0 || u.extu_ext.ext_frachm != 0 || + u.extu_ext.ext_fraclm != 0 || u.extu_ext.ext_fracl != 0)); } diff --git a/lib/libc/arch/x86_64/gen/isinfl.c b/lib/libc/arch/x86_64/gen/isinfl.c index 2216dedf25b7..6cb2e839a299 100644 --- a/lib/libc/arch/x86_64/gen/isinfl.c +++ b/lib/libc/arch/x86_64/gen/isinfl.c @@ -1,4 +1,4 @@ -/* $NetBSD: isinfl.c,v 1.3 2003/10/27 00:05:46 kleink Exp $ */ +/* $NetBSD: isinfl.c,v 1.4 2003/10/27 01:11:46 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isinfl.c,v 1.3 2003/10/27 00:05:46 kleink Exp $"); +__RCSID("$NetBSD: isinfl.c,v 1.4 2003/10/27 01:11:46 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -61,7 +61,7 @@ isinfl(long double ld) union ieee_ext_u u; u.extu_ld = ld; - return (u.extu_ldbl.ext_exp == EXT_EXP_INFNAN && - (u.extu_ldbl.ext_int == 1 && - u.extu_ldbl.ext_frach == 0 && u.extu_ldbl.ext_fracl == 0)); + return (u.extu_ext.ext_exp == EXT_EXP_INFNAN && + (u.extu_ext.ext_int == 1 && + u.extu_ext.ext_frach == 0 && u.extu_ext.ext_fracl == 0)); } diff --git a/lib/libc/arch/x86_64/gen/isnanl.c b/lib/libc/arch/x86_64/gen/isnanl.c index 27303dae1a40..919d8e028942 100644 --- a/lib/libc/arch/x86_64/gen/isnanl.c +++ b/lib/libc/arch/x86_64/gen/isnanl.c @@ -1,4 +1,4 @@ -/* $NetBSD: isnanl.c,v 1.3 2003/10/27 00:05:46 kleink Exp $ */ +/* $NetBSD: isnanl.c,v 1.4 2003/10/27 01:11:47 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isnanl.c,v 1.3 2003/10/27 00:05:46 kleink Exp $"); +__RCSID("$NetBSD: isnanl.c,v 1.4 2003/10/27 01:11:47 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -61,7 +61,7 @@ isnanl(long double ld) union ieee_ext_u u; u.extu_ld = ld; - return (u.extu_ldbl.ext_exp == EXT_EXP_INFNAN && - u.extu_ldbl.ext_int == 1 && - (u.extu_ldbl.ext_frach != 0 || u.extu_ldbl.ext_fracl != 0)); + return (u.extu_ext.ext_exp == EXT_EXP_INFNAN && + u.extu_ext.ext_int == 1 && + (u.extu_ext.ext_frach != 0 || u.extu_ext.ext_fracl != 0)); } diff --git a/sys/arch/hppa/include/ieee.h b/sys/arch/hppa/include/ieee.h index 51557ecd3bfe..5c3cc9300123 100644 --- a/sys/arch/hppa/include/ieee.h +++ b/sys/arch/hppa/include/ieee.h @@ -1,4 +1,4 @@ -/* $NetBSD: ieee.h,v 1.5 2003/10/26 21:46:46 kleink Exp $ */ +/* $NetBSD: ieee.h,v 1.6 2003/10/27 01:11:47 kleink Exp $ */ /* $OpenBSD: ieee.h,v 1.1 1999/04/20 19:44:04 mickey Exp $ */ @@ -87,5 +87,5 @@ struct ieee_ext { */ union ieee_ext_u { long double extu_ld; - struct ieee_ext extu_ldbl; + struct ieee_ext extu_ext; }; diff --git a/sys/arch/m68k/include/ieee.h b/sys/arch/m68k/include/ieee.h index 19419fc61b75..e9a0264f6bd7 100644 --- a/sys/arch/m68k/include/ieee.h +++ b/sys/arch/m68k/include/ieee.h @@ -1,4 +1,4 @@ -/* $NetBSD: ieee.h,v 1.8 2003/10/26 21:46:46 kleink Exp $ */ +/* $NetBSD: ieee.h,v 1.9 2003/10/27 01:11:47 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -87,7 +87,7 @@ struct ieee_ext { */ union ieee_ext_u { long double extu_ld; - struct ieee_ext extu_ldbl; + struct ieee_ext extu_ext; }; #endif /* !__mc68010__ */ diff --git a/sys/arch/sparc/include/ieee.h b/sys/arch/sparc/include/ieee.h index d8829795b19e..9ab94675e598 100644 --- a/sys/arch/sparc/include/ieee.h +++ b/sys/arch/sparc/include/ieee.h @@ -1,4 +1,4 @@ -/* $NetBSD: ieee.h,v 1.6 2003/10/26 21:46:46 kleink Exp $ */ +/* $NetBSD: ieee.h,v 1.7 2003/10/27 01:11:47 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -92,6 +92,6 @@ struct ieee_ext { */ union ieee_ext_u { long double extu_ld; - struct ieee_ext extu_ldbl; + struct ieee_ext extu_ext; }; #endif /* __arch64__ */ diff --git a/sys/arch/x86/include/ieee.h b/sys/arch/x86/include/ieee.h index a1c52fd9a9dc..479271b52693 100644 --- a/sys/arch/x86/include/ieee.h +++ b/sys/arch/x86/include/ieee.h @@ -1,4 +1,4 @@ -/* $NetBSD: ieee.h,v 1.7 2003/10/26 21:46:46 kleink Exp $ */ +/* $NetBSD: ieee.h,v 1.8 2003/10/27 01:11:47 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -92,5 +92,5 @@ struct ieee_ext { */ union ieee_ext_u { long double extu_ld; - struct ieee_ext extu_ldbl; + struct ieee_ext extu_ext; }; diff --git a/sys/sys/ieee754.h b/sys/sys/ieee754.h index ccaeca3294e3..dfda97072830 100644 --- a/sys/sys/ieee754.h +++ b/sys/sys/ieee754.h @@ -1,4 +1,4 @@ -/* $NetBSD: ieee754.h,v 1.2 2003/10/26 21:46:46 kleink Exp $ */ +/* $NetBSD: ieee754.h,v 1.3 2003/10/27 01:11:47 kleink Exp $ */ /* * Copyright (c) 1992, 1993 @@ -142,7 +142,7 @@ struct ieee_double { */ union ieee_single_u { float sngu_f; - struct ieee_single sngu_flt; + struct ieee_single sngu_sng; }; union ieee_double_u {