...
In this compliant solution, pi is declared as a const-qualified object.:
| Code Block | ||||
|---|---|---|---|---|
| ||||
const float pi = 3.14159f; float degrees; float radians; /* ... */ radians = degrees * pi / 180; |
...
Tool | Version | Checker | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
Compass/ROSE |
|
|
| ||||||
| cnstpnte | Partially implemented. | |||||||
| 78 D | Fully implemented | |||||||
| PRQA QA-C |
| 3204 | Partially implemented |
...