Versions Compared

Key

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

...

Tool

Version

Checker

Description

Astrée
Include Page
Astrée_V
Astrée_V
float-comparisonPartially checked
Compass/ROSE



Can detect violations of this recommendation. In particular, it checks to see if the arguments to an equality operator are of a floating-point type

LDRA tool suite
Include Page
LDRA_V
LDRA_V
56 SPartially implemented
Parasoft C/C++test
Include Page
Parasoft_V
Parasoft_V

CERT_C-FLP02-a

Floating-point expressions shall not be tested for equality or inequality
Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

Floating point comparison with equality operators

Imprecise comparison of floating-point variables

PRQA QA-C
Include Page
PRQA QA-C_v
PRQA QA-C_v
0790
PVS-Studio

Include Page
PVS-Studio_V
PVS-Studio_V

V550
RuleChecker
Include Page
RuleChecker_V
RuleChecker_V
float-comparisonPartially checked

...