[Cfp-interest 1881] AI: say negative zero and NaN's with a negative sign bit are not negative values

Jim Thomas jaswthomas at sbcglobal.net
Fri Jan 8 10:40:08 PST 2021


Action item:
>     Jim: Send out something to say negative zero and NaN's with a negative sign bit are not negative values in C.
> 


The following suggested change is intended to clarify the use of the term “negative value”.

Suggested change:

After 5.2.4.2.2 #5, add the paragraph:

[5a] A value is negative if and only if it compares less than 0. Thus, negative zeros and NaNs with a negative sign bit are not negative values.


- Jim Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20210108/7ddbc5c4/attachment-0001.htm>


More information about the Cfp-interest mailing list