[Cfp-interest] Classification macros and clearing flags

Rajan Bhakta rbhakta at us.ibm.com
Mon Feb 12 07:48:04 PST 2018


I think we don't need to say anything here just like for a number of other 
functions. Like what the IEEE-754 list said, I think we should leave it as 
is.

Regards,

Rajan Bhakta
z/OS XL C/C++ Compiler Technical Architect
ISO C Standards Representative for Canada
C Compiler Development
Contact: rbhakta at us.ibm.com, Rajan Bhakta/Houston/IBM



From:   "Fred J. Tydeman" <tydeman at tybor.com>
To:     "cfp-interest" <cfp-interest at ucbtest.org>
Date:   02/09/2018 08:31 PM
Subject:        [Cfp-interest] Classification macros and clearing flags
Sent by:        cfp-interest-bounces at oakapple.net



Currently, TS 18661-1 has these words:

[5] The C classification macros fpclassify, iscanonical, isfinite, isinf, 
isnan,
isnormal, issignaling, issubnormal, and iszero provide the IEC 60559 
operations indicated
in the table above provided their arguments are in the format of their 
semantic type. Then these
macros raise no floating-point exceptions, even if an argument is a 
signaling NaN.


Do we need to add words that those macros do not clear any FP exceptions?


---
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: 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tybor.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=MPb4GyWs7nd-w3OlFPs29W1dB3gHMdsdghhjcQMf428&m=wGLSQzjH-ASd7cn9V7ygzkhFi2zZ9FIYL4BplP-mPJc&s=IfeM3nIlyzsMLohVPrYMX_if9mhSbpta2uN85E4gEa4&e=

Savers sleep well, investors eat well, spenders work forever.

_______________________________________________
Cfp-interest mailing list
Cfp-interest at oakapple.net
https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.oakapple.net_mailman_listinfo_cfp-2Dinterest&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=MPb4GyWs7nd-w3OlFPs29W1dB3gHMdsdghhjcQMf428&m=wGLSQzjH-ASd7cn9V7ygzkhFi2zZ9FIYL4BplP-mPJc&s=y4PLO_AvRAbgHyj-xREF1J3NcmvBdAyXF430c_bOp9M&e=





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20180212/08a7a694/attachment.html 


More information about the Cfp-interest mailing list