[Cfp-interest] Classification macros and clearing flags
Fred J. Tydeman
tydeman at tybor.com
Mon Feb 12 08:50:55 PST 2018
On Mon, 12 Feb 2018 09:48:04 -0600 Rajan Bhakta wrote:
>
>I think we don't need to say anything here just like for a number of other
>functions.
Agreed this issue is more global than the classification macros.
> Like what the IEEE-754 list said, I think we should leave it as
>is.
I cannot find any words in C11 or TS 18661-1 that say the FP exception
flags are only cleared/lowered by functions in 7.6.2 and 7.6.4
I have encountered an implementation where isnan() clears the FP
exception flags.
---
Fred J. Tydeman Tydeman Consulting
tydeman at tybor.com Testing, numerics, programming
+1 (702) 608-6093 Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.
More information about the Cfp-interest
mailing list