Err, rename some members added in previous to make them reflect their

semantics better.
This commit is contained in:
kleink 2003-10-27 01:11:46 +00:00
parent 16d49327a2
commit 964d6747b5
15 changed files with 59 additions and 59 deletions

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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;
};

View File

@ -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__ */

View File

@ -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__ */

View File

@ -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;
};

View File

@ -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 {