bug-gnulib
[Top][All Lists]
Advanced

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

Re: signalling NaNs on i386 and x86_64


From: Paul Eggert
Subject: Re: signalling NaNs on i386 and x86_64
Date: Mon, 16 Oct 2023 21:50:03 -0700
User-agent: Mozilla Thunderbird

On 2023-10-16 16:09, Bruno Haible wrote:
In my tests so far, they seem to be reliable except on x86 and sh4 CPUs. (For sh4, because of a gcc bug.)

I am partly relying on the GCC manual which contains the delicious sentence "This option is experimental and does not currently guarantee to disable all GCC optimizations that affect signaling NaN behavior."[1]

I translate this to "If you compile with -fsignaling-nans you should get behavior that works for signaling NaNs, but this area is buggy so don't count on it (and anyway why are you wasting your precious time worrying about signaling NaNs?)." (Admittedly the parenthesized part is my editorializing. :-)

[1]: <https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Optimize-Options.html#index-fsignaling-nans>



reply via email to

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