...
Rule | Severity | Likelihood | Detectable | Repairable | Priority | Level |
|---|---|---|---|---|---|---|
FLP36-C | Low | Unlikely | Yes | No | P2 | L3 |
Automated Detection
Tool | Version | Checker | Description | ||||
|---|---|---|---|---|---|---|---|
| Astrée |
|
imprecise-int-to-float-cast | Fully checked | ||||||||
| CodeSonar |
| LANG.TYPE.IAT | Inappropriate Assignment Type | ||||||
| Coverity |
| MISRA C 2004 Rule 10.x (needs investigation) | Needs investigation | ||||||
| Cppcheck Premium |
| premium-cert-flp36-c | |||||||
| Helix QAC |
| C1260, C1263, C1298, C1299, C1800, C1802, C1803, C1804, C4117, C4435, C4437, C4445 C++3011 | |||||||
| Klocwork |
| PORTING.CAST.FLTPNT | |||||||
| LDRA tool suite |
| 435 S | Fully implemented | ||||||
| Parasoft C/C++test |
| CERT_C-FLP36-a | Implicit conversions from integral to floating type which may result in a loss of information shall not be used | ||||||
| PC-lint Plus |
| 915, 922 | Partially supported | ||||||
| Polyspace Bug Finder |
| CERT-C: Rule FLP36-C | Checks for precision loss in integer to float conversion (rule fully covered) | ||||||
| PVS-Studio |
| V674 | |||||||
| RuleChecker |
| imprecise-int-to-float-cast imprecise-int-to-float-conversion | Fully checked |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...