Recommendations
FLP00-A. Consider avoiding floating point numbers when precise computation is needed
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
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 demoted floating point values are within range
Risk Assessment Summary
Recommendation |
Severity |
Likelihood |
Remediation Cost |
Priority |
Level |
|---|---|---|---|---|---|
FLP00-A |
1 (low) |
2 (probable) |
2 (medium) |
P4 |
L3 |
FLP01-A |
1 (low) |
2 (probable) |
2 (medium) |
P4 |
L3 |
|
|
|
|
|
|
Rule |
Severity |
Likelihood |
Remediation Cost |
Priority |
Level |
|---|---|---|---|---|---|
FLP30-C |
1 (low) |
1 (unlikely) |
3 (low) |
P3 |
L3 |
FLP31-C |
1 (low) |
2 (probable) |
1 (high) |
P2 |
L3 |
FLP32-C |
2 (medium) |
2 (probable) |
2 (medium) |
P8 |
L2 |
FLP33-C |
1 (low) |
2 (probable) |
3 (low) |
P6 |
L2 |
FLP34-C |
1 (low) |
1 (unlikely) |
3 (low) |
P3 |
L3 |
INT36-C. Do not shift a negative number of bits or more bits than exist in the operand 04. Integers (INT)