https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98140

--- Comment #3 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> ---
(In reply to Jiu Fu Guo from comment #2)
> (In reply to Alexander Grund from comment #1)
> > It looks like this was fixed in 10.1 by this commit
> > https://github.com/gcc-mirror/gcc/commit/
> > 37e0df8a9be5a8232f4ccb73cdadb02121ba523f
> ...
> > `HONOR_NANS (compare_mode)` case. However it still ignores signed zeros.
> 
> 'xsmincdp' may be fine for zeros, it seems '!HONOR_SIGNED_ZEROS' is not
> needed.
> 
> > Maybe xsmindp would be a better fit as it preserves the signed zeros. Only
> > downside I see is that it converts sNan to qNan which may be an issue.
Oh, sorry. for -0 and +0, xsmincdp returns the 2nd operand,  xsmindp returns
-0.

Reply via email to