tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] x86_64 tcc doesn't set sign bit on NaNs


From: arnold
Subject: Re: [Tinycc-devel] x86_64 tcc doesn't set sign bit on NaNs
Date: Tue, 05 Jan 2021 02:41:53 -0700
User-agent: Heirloom mailx 12.5 7/5/10

Vincent Lefevre <vincent@vinc17.net> wrote:

>
> But my point is that with the above testcase, you cannot know whether
> the difference between gcc and tcc comes from strtod (which would be
> valid, as strtod doesn't specify the sign or NaN) or the "d = -d;"
> (which would be invalid). A printf should have been added between
> the strtod and the "d = -d;" to be sure.

It was definitely the "d = -d".  Sorry I wasn't more clear.

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]