Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen For a double-extended NaN, the exponent must be...



details:   https://anonhg.NetBSD.org/src/rev/8b268fc104fe
branches:  trunk
changeset: 553915:8b268fc104fe
user:      kleink <kleink%NetBSD.org@localhost>
date:      Wed Oct 22 21:37:34 2003 +0000

description:
For a double-extended NaN, the exponent must be EXT_EXP_INFNAN, not
DBL_EXP_INFNAN.

diffstat:

 lib/libc/gen/isnanl_ieee754.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b63d54bc751c -r 8b268fc104fe lib/libc/gen/isnanl_ieee754.c
--- a/lib/libc/gen/isnanl_ieee754.c     Wed Oct 22 21:28:08 2003 +0000
+++ b/lib/libc/gen/isnanl_ieee754.c     Wed Oct 22 21:37:34 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isnanl_ieee754.c,v 1.2 2003/08/07 16:42:52 agc Exp $   */
+/*     $NetBSD: isnanl_ieee754.c,v 1.3 2003/10/22 21:37:34 kleink Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -69,7 +69,7 @@
        } u;
 
        u.ld = ld;
-       return (u.ldbl.ext_exp == DBL_EXP_INFNAN &&
+       return (u.ldbl.ext_exp == EXT_EXP_INFNAN &&
            (u.ldbl.ext_frach != 0 || u.ldbl.ext_frachm != 0 ||
             u.ldbl.ext_fraclm != 0 || u.ldbl.ext_fracl != 0));
 #else



Home | Main Index | Thread Index | Old Index