Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gdtoa PR/50937: Henning Petersen: Fix subnormal pri...



details:   https://anonhg.NetBSD.org/src/rev/fa8aa9f026d3
branches:  trunk
changeset: 814264:fa8aa9f026d3
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 13 19:44:58 2016 +0000

description:
PR/50937: Henning Petersen: Fix subnormal printf for long double x86. From
FreeBSD PR 85080.

diffstat:

 lib/libc/gdtoa/ldtoa.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r cdb1a94b222d -r fa8aa9f026d3 lib/libc/gdtoa/ldtoa.c
--- a/lib/libc/gdtoa/ldtoa.c    Sun Mar 13 18:56:19 2016 +0000
+++ b/lib/libc/gdtoa/ldtoa.c    Sun Mar 13 19:44:58 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ldtoa.c,v 1.4 2007/02/23 17:45:59 christos Exp $       */
+/*     $NetBSD: ldtoa.c,v 1.5 2016/03/13 19:44:58 christos Exp $       */
 
 /*-
  * Copyright (c) 2003 David Schultz <das%FreeBSD.ORG@localhost>
@@ -30,7 +30,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/lib/libc/gdtoa/_ldtoa.c,v 1.2 2004/01/18 07:53:49 das Exp $");
 #else
-__RCSID("$NetBSD: ldtoa.c,v 1.4 2007/02/23 17:45:59 christos Exp $");
+__RCSID("$NetBSD: ldtoa.c,v 1.5 2016/03/13 19:44:58 christos Exp $");
 #endif
 
 #include <float.h>
@@ -87,9 +87,7 @@
                break;
        case FP_SUBNORMAL:
                kind = STRTOG_Denormal;
-#ifdef LDBL_IMPLICIT_NBIT
                be++;
-#endif
                break;
        case FP_INFINITE:
                kind = STRTOG_Infinite;



Home | Main Index | Thread Index | Old Index