Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Fix the exponent value we're comparing with.
details: https://anonhg.NetBSD.org/src/rev/3787fca20214
branches: trunk
changeset: 554547:3787fca20214
user: kleink <kleink%NetBSD.org@localhost>
date: Wed Oct 29 19:34:11 2003 +0000
description:
Fix the exponent value we're comparing with.
diffstat:
lib/libc/gen/fpclassifyf_ieee754.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2327b2faf389 -r 3787fca20214 lib/libc/gen/fpclassifyf_ieee754.c
--- a/lib/libc/gen/fpclassifyf_ieee754.c Wed Oct 29 19:00:14 2003 +0000
+++ b/lib/libc/gen/fpclassifyf_ieee754.c Wed Oct 29 19:34:11 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpclassifyf_ieee754.c,v 1.1 2003/10/28 22:05:37 kleink Exp $ */
+/* $NetBSD: fpclassifyf_ieee754.c,v 1.2 2003/10/29 19:34:11 kleink Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: fpclassifyf_ieee754.c,v 1.1 2003/10/28 22:05:37 kleink Exp $");
+__RCSID("$NetBSD: fpclassifyf_ieee754.c,v 1.2 2003/10/29 19:34:11 kleink Exp $");
#endif
#include <machine/ieee.h>
@@ -60,7 +60,7 @@
return FP_ZERO;
else
return FP_SUBNORMAL;
- } else if (u.sngu_sng.sng_exp == DBL_EXP_INFNAN) {
+ } else if (u.sngu_sng.sng_exp == SNG_EXP_INFNAN) {
if (u.sngu_sng.sng_frac == 0)
return FP_INFINITE;
else
Home |
Main Index |
Thread Index |
Old Index