...
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
FLP02-C | Low | Probable | High | P2 | L3 |
Automated Detection
Checks for floating
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
Astrée |
| float-comparison | Partially checked | ||||||
Axivion Bauhaus Suite |
| CertC-FLP02 | |||||||
Compass/ROSE | Can detect violations of this recommendation. In particular, it checks to see if the arguments to an equality operator are of a floating-point type | ||||||||
LDRA tool suite |
| 56 S | Partially implemented | ||||||
Parasoft C/C++test |
| CERT_C-FLP02-a | Floating-point expressions shall not be tested for equality or inequality | ||||||
Polyspace Bug Finder |
| CERT C: Rec. FLP02-C | Checks for floating Floatingpoint comparison with equality operators Imprecise comparison of floating-point variables | ||||||
PRQA QA-C |
| 0790 | |||||||
PVS-Studio |
| V550 | |||||||
RuleChecker |
| float-comparison | Partially checked |
...