This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] DFP runtime comparisons for NaN


> gcc/
> 	* config/dfp-bit.c (dfp_compare_op): Return separate value for NaN.
> 	(DFP_NE, DFP_LE, DFP_GE): Return false for NaN.
> 
> gcc/testsuite/
> 	* gcc.dg/dfp/compare-special.h: New file.
> 	* gcc.dg/dfp/compare-special-32.c: New test.
> 	* gcc.dg/dfp/compare-special-64.c: New test.
> 	* gcc.dg/dfp/compare-special-128.c: New test.

OK, thanks.  I'm somewhat dismayed that our testsuite never caught
this.  :-(

Cheers,
Ben



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]