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, PR 57363] IBM long double: adding qNaN and number raises inexact exception


On 18-11-2013 18:10, Ulrich Weigand wrote:
> Adhemerval Zanella wrote:
>
>> 2013-11-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com> * libgcc/config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add of normal number and qNaN to not raise an inexact exception. * gcc/testsuite/gcc.target/powerpc/pr57363.c: New file: check for PR#57363.
>>
> This should go into two separate ChangeLog files, one in libgcc/ChangeLog:
>
>  	* config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add of normal number
> 	and qNaN to not raise an inexact exception.
>
> and one in gcc/testsuite/ChangeLog:
>
>  	* gcc.target/powerpc/pr57363.c: New test.

Ok, thanks for spot it.

>
>> +/* Check if adding a sNAN and a normal long double does not generate a
>> +   inexact exception.  */
> qNaN again :-)

Yeah... :(

>
> Thanks,
> Ulrich
>


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