This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Print sign of NaN values
- From: Craig Howland <howland at LGSInnovations dot com>
- To: <newlib at sourceware dot org>
- Date: Mon, 5 Jun 2017 12:45:03 -0400
- Subject: Re: [PATCH] Print sign of NaN values
- Authentication-results: sourceware.org; auth=none
- References: <CA+yXCZBD5s=81zURuLEPYS-TkkaXt2OgbTgZhLNzA92WhHn1Jg@mail.gmail.com>
On 06/03/2017 09:54 AM, Kito Cheng wrote:
This patch let -NaN can print the right sign like glibc do[1] :)
Ref:
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=003c9895a89e71767ad64bafac1ca99622be2eb7
For vfwprintf.c, the two assignments to sign ought to be "sign = L'-';" (missing
the L).