[Cfp-interest 2089] Re: typo in C2x 5.2.4.2.2 Characteristics of floating types <float.h>

Jim Thomas jaswthomas at sbcglobal.net
Sat Aug 7 16:38:08 PDT 2021



> On Aug 3, 2021, at 7:00 PM, Vincent Lefevre <vincent at vinc17.net> wrote:
> 
> In the current C2x draft N2596, 5.2.4.2.2p4 starts with:
> 
>  Floating types shall be able to represent zero (all f_k == 0) and
>  all /normalized floating-point numbers/ (f_1 > 0 and all possible
>  k digits and e exponents result in values representable in the
>  type).
> 
> Instead of "k digits", it should be "p digits" (k is just the index,
> which goes from 1 to p).

Looking at the context, I think the parenthetical remark with the typo could be changed to "(all x with f_1 > 0)". 

(This would have gone nicely in N2672 "5.2.4.2.2 cleanup”.)

- Jim Thomas

> 
> -- 
> Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
> _______________________________________________
> Cfp-interest mailing list
> Cfp-interest at oakapple.net
> http://mailman.oakapple.net/mailman/listinfo/cfp-interest




More information about the Cfp-interest mailing list