FLP00-A. Understand the limitations of floating point numbers
FLP01-A. Take care in rearranging floating point expressions
FLP02-A. Understand the caveats of floating point exceptions
FLP03-A. Detect and handle floating point errors
FLP04-A. Consider avoiding floating point numbers when precise computation is needed
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 demoted floating point values are within range
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 |
INT36-C. Do not shift a negative number of bits or more bits than exist in the operand 04. Integers (INT) FLP04-A. Consider avoiding floating point numbers when precise computation is needed