A0-4-4
: More domain cases
#193
Labels
Difficulty-Low
A false positive or false negative report which is expected to take <1 day effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Low
Affected rules
A0-4-4
Description
There are a number of math function domain errors we didn't previously capture, because they result in unspecified or undefined behaviour:
abs
on "the most negative number" is undefined behaviour.fmod
should not be zero.l?lrint[fl]?
andl?lround[fl]?
where the rounded input value is outside the range of the return type.frexp
on NaN or infinityThe text was updated successfully, but these errors were encountered: