[PATCH] [RFC] Change SET_RESTORE_ROUND to just set the rounding mode

Adhemerval Zanella azanella@linux.vnet.ibm.com
Thu Mar 14 12:55:00 GMT 2013


On 07-03-2013 17:57, Joseph S. Myers wrote:
> On Thu, 7 Mar 2013, Adhemerval Zanella wrote:
>
>> Any comments, tips, advices?
> * If this was a bug that was user-visible in releases, please file a bug 
> in Bugzilla and add a testcase to the testsuite if not already shown up by 
> the testsuite.
>
> * If making changes that would require corresponding ports changes but not 
> also making those ports changes, please remember to send details of the 
> changes needed to libc-ports.
>
Hi Joseph,

I have opened bug BZ#15268. I couldn't find a easy way to add a testcase in the
existing math mainly because although the exp call underflow, the result is
not inexact and the underflow mask is set on test-* cases to not trap. I open
to suggestion on how to add a testcase or if is really need to add one.

Nevertheless I still do think the current default behavior of holding exception
for SET_RESTORE_ROUND is wrong and it leads to different semantics across
architecture.



More information about the Libc-alpha mailing list