[Cfp-interest 3109] AI from the 2024/05/22 meeting: Optional NaN
Rajan Bhakta
rbhakta at us.ibm.com
Wed May 22 13:07:23 PDT 2024
Proposal for C2Y
WG14 Nxxxx
Title: Nonsensical parenthetical
Author, affiliation: C FP group
Date: 2024-05-22
Proposal category: Editorial (since nonsensical otherwise)
Reference: Base document: N3219
Aaron Ballman noticed problematic parenthetical text in the specification of the [u]fromfp functions. In particular, it talks about the “type of [an] argument, if available”, which make no sense since all argument types are available for the functions given in the specification, otherwise the function would not be present. It seems the end parenthesis was placed incorrectly. This proposal aims to fix it to what was intended.
In 7.12.9.10p2, change:
Otherwise, if width is zero or x does not round to an integer within the range, the functions return a NaN (of the type of the x argument, if available), else the value of x, and a domain error occurs.
To:
Otherwise, if width is zero or x does not round to an integer within the range, the functions return a NaN (of the type of the x argument), if available, else the value of x, and a domain error occurs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20240522/2e501e25/attachment.htm>
More information about the Cfp-interest
mailing list