You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 57 Next »

Recommendations

FLP00-A. Understand the limitations of floating point numbers

FLP01-A. Take care in rearranging floating point expressions

FLP02-A. Placeholder

FLP03-A. Detect and handle floating point errors

FLP02-A. Consider avoiding floating point numbers when precise computation is needed

Rules

FLP30-C. Do not use floating point variables as loop counters

FLP31-C. Do not call functions expecting real values with complex values

FLP32-C. Prevent or detect domain and range errors in math functions

FLP33-C. Convert integers to floating point for floating point operations

FLP34-C. Ensure that floating point conversions are within range of the new type

Risk Assessment Summary

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

FLP00-A

medium

probable

high

P4

L3

FLP01-A

low

probable

medium

P4

L3

FLP02-A

 

 

 

 

 

FLP03-A

low

probable

medium

P4

L3

FLP04-A

low

probable

medium

P4

L3

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

FLP30-C

low

unlikely

low

P3

L3

FLP31-C

low

probable

high

P2

L3

FLP32-C

medium

probable

medium

P8

L2

FLP33-C

low

probable

low

P6

L2

FLP34-C

low

unlikely

low

P3

L3

Related Rules and Recommendations


INT35-C. Evaluate integer expressions in a larger size before comparing or assigning to that size      04. Integers (INT)       FLP00-A. Understand the limitations of floating point numbers

  • No labels