[PATCH] Print sign of NaN values

Kito Cheng kito.cheng@gmail.com
Wed Jun 7 06:56:00 GMT 2017


Hi Craig:

Thanks your review :)

here is updated patch.

On Tue, Jun 6, 2017 at 12:45 AM, Craig Howland
<howland@lgsinnovations.com> wrote:
> 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).
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Print-sign-of-NaN-values.patch
Type: text/x-patch
Size: 1523 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20170607/565aa2c3/attachment.bin>


More information about the Newlib mailing list