bug-gawk
[Top][All Lists]
Advanced

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

Re: Testsuite failures of gawk 5.2.0


From: Eli Zaretskii
Subject: Re: Testsuite failures of gawk 5.2.0
Date: Fri, 09 Sep 2022 08:45:48 +0300

> From: arnold@skeeve.com
> Date: Thu, 08 Sep 2022 14:07:39 -0600
> Cc: bug-gawk@gnu.org
> 
> On RiscV, I have to initialize `d' like so:
> 
>       double d = -sqrt(-1.0);
> 
> $ gcc t.c -lm -o t
> $ ./t
> main: -nan
> got nan
> 
> Adding zero changes the sign of the value passed.
> 
> Sheesh, what a headache.
> 
> I'm not sure yet what to do about this, but at least now I
> can point a finger at the hardware.

Maybe I'm missing something, but why does it matter to use what is the
sign of NaN?  If this is just for the test suite, we could accept both
results.  If this is for some other functionality, what is that
functionality?



reply via email to

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