This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] S390: Do not set FE_INEXACT with feraiseexcept (FE_OWERFLOW|FE_UNDERFLOW).
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 18 Aug 2016 15:59:31 +0000
- Subject: Re: [PATCH] S390: Do not set FE_INEXACT with feraiseexcept (FE_OWERFLOW|FE_UNDERFLOW).
- Authentication-results: sourceware.org; auth=none
- References: <45cef91b-59ad-a35f-70ea-68c8d1349701@linux.vnet.ibm.com>
On Thu, 18 Aug 2016, Stefan Liebler wrote:
> Hi,
>
> on s390 feraiseexcept (FE_OVERFLOW|FE_UNDERFLOW) sets FE_INEXACT, too.
Note that this is permitted by the standards (whereas implicitly setting
FE_INEXACT is not permitted for fesetexcept, or fesetexceptflag if it
wasn't set in the saved state).
--
Joseph S. Myers
joseph@codesourcery.com