...
Failure to understand the limitations in precision of floating-point-represented numbers and their implications on the arrangement of expressions can cause unexpected arithmetic results.
Recommendation | Severity | Likelihood |
|---|
Detectable | Repairable | Priority | Level |
|---|---|---|---|
FLP01-C | Low | Probable | No |
No | P2 | L3 |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this recommendation on the CERT website.
Related Guidelines
| SEI CERT C++ Coding Standard | FLP01-CPP. Take care in rearranging floating-point expressions |
| ISO/IEC TR 24772:2013 | Floating-point Arithmetic [PLF] |
Bibliography
| [ISO/IEC 9899:2011] | Subclause 5.1.2.3, "Program Execution" |
...
...