...
In this compliant solution, pi
is declared as a const
-qualified object.
Code Block | ||
---|---|---|
| ||
float const float pi = 3.14159f; float degrees; float radians; /* ... */ radians = degrees * pi / 180; |
...
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
DCL00-A | 1 ( low ) 1 ( | unlikely ) | 1 ( high ) | P1 | L3 |
Related Vulnerabilities
...