[Cfp-interest 2348] Re: Updated (V4) N2823

Jim Thomas jaswthomas at sbcglobal.net
Wed Jan 19 14:26:00 PST 2022


There’s no need to mention <math.h> in “… when <stdlib.h>, <fenv.h> and <math.h> are included …”.

The “inclusive version” of Alternative 1 is missing ", without the requirements to set errno (see 7.5) or modify the floating-point environment (see 7.6),”.

Similar to [?] regarding errno, if the <fenv.h> functions to query flags or modify modes are not required, the implementation does not have to maintain thread local storage for the floating-point environment.

The following would be more parallel, and uses the same wording as for math overflow and underflow in 7.12.1:

;  if the integer expression math_errhandling & MATH_ERRNO is nonzero, whether errno acquires the value ERANGE is implementation defined; if the integer expression math_errhandling & MATH_ERREXCEPT is nonzero, whether the "underflow" floating-point exception is raised is implementation-defined.

The (unchanged) last sentence in the last change does not match what is in the draft.

- Jim Thomas

> On Jan 19, 2022, at 11:30 AM, Rajan Bhakta <rbhakta at us.ibm.com> wrote:
> 
> (See attached file: N2823UpdateV4.html)
> 
> Regards,
> 
> Rajan Bhakta
> z/OS XL C/C++ Compiler Technical Architect
> ISO C Standards Representative (Canada, USA), PL22.11 Chair
> C/C++ Compiler Development
> rbhakta at us.ibm.com
> 
> IBM
> 
> <N2823UpdateV4.html>_______________________________________________
> Cfp-interest mailing list
> Cfp-interest at oakapple.net
> http://mailman.oakapple.net/mailman/listinfo/cfp-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20220119/e03560e9/attachment.htm>


More information about the Cfp-interest mailing list