Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this compliant solution, pi is declared as a const-qualified object.:

Code Block
bgColor#ccccff
langc
const float pi = 3.14159f;
float degrees;
float radians;
/* ... */
radians = degrees * pi / 180;

...

Tool

Version

Checker

Description

Compass/ROSE

 

 

 

ECLAIR

Include Page
ECLAIR_V
ECLAIR_V

cnstpnte

Partially implemented.

LDRA tool suite

Include Page
LDRA_V
LDRA_V

78 D
93 D
200 S

Fully implemented

PRQA QA-C
Include Page
PRQA_V
PRQA_V

3204
3227
3232

Partially implemented

...