Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 14:45:29 +0900
From:      GOTO Kentaro <gotoken@notwork.org>
To:        Jens Schweikhardt <schweikh@FreeBSD.org>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/41823: printf("%+f\n", -0.0) generates +0.000000
Message-ID:  <200208220545.g7M5jTx9023008@miso.k.notwork.org>
In-Reply-To: <200208211122.g7LBMJrt092651@freefall.freebsd.org>
References:  <200208211122.g7LBMJrt092651@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 21 Aug 2002 04:22:19 -0700 (PDT),
Jens Schweikhardt wrote:
> Can you try this patch against -current? (stable should be easy too).
> This is what you suggested, I believe, i.e. moving the __dtoa()
> before the comparison and using "if (dsgn)" instead of value<0.
> This would align us a little closer to NetBSD as you stated.

I applied the patch and it looks to be working well.  

# Btw, OpenBSD has the same problem. I don't use OpenBSD though. 
# http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdio/vfprintf.c?rev=1.17&content-type=text/x-cvsweb-markup

Thanks, 

-- Gotoken

http://www.freebsd.org/cgi/query-pr.cgi?pr=41823

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208220545.g7M5jTx9023008>