This repository has been archived by the owner on Jun 3, 2021. It is now read-only.
1.0/0 and 0.0/0 are both defined, but are reported as an error by rcc #442
Labels
bug
Something isn't working
const_fold
Constant propogation at compile time
error-checking
good first issue
Good for newcomers
Milestone
Expected behavior
1.0 / 0
should be+INF
,0.0 / 0
should beNaN
.Code
Annex F: floating point arithmetic (http://port70.net/~nsz/c/c11/n1570.html#F)
We should also define
__STDC_IEC_559__
, as per 6.10.8.3.The text was updated successfully, but these errors were encountered: