This page is experimental and may change significantly in future releases.
Floating Point Comparison with Incorrect Operator
Properties
id: d3f:CWE-1077
- name
- Floating Point Comparison with Incorrect Operator
- definition
- The code performs a comparison such as an equality test between two float (floating point) values, but it uses comparison operators that do not account for the possibility of loss of precision.
Neighbors
CWE-1077 has no direct neighbors in this release.Inferred Relationships
Related Countermeasure Techniques
Related Weaknesses
CWE-1077 has no related weaknesses in this release.