CWE-1077: Floating Point Comparison with Incorrect Operator
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.
A kind of CWE-480 Use of Incorrect Operator.
From the CWE List. © The MITRE Corporation.
Newest
-
gpacUbuntu A Floating-Point Exception (FPE) in the reframer_send_packet function (/filters/reframer.c) of... 5.5 Medium -
mrubyUbuntu,nghttp2Azure Linux +1 more mruby bigint.c udiv floating point comparison with incorrect operator 6.9 Medium - gpac GPAC MP4Box v2.4 was discovered to contain a floating point exception in the... 6.5 Medium
- gpac, gpac gpac/gpac +1 more Floating Point Comparison with Incorrect Operator in gpac/gpac 4.0 Medium
- fedora extra packages for enterprise linux, fedora, red hat enterprise linux 6 +3 more +5 more Floating point exception in src/voc.c 6.2 Medium
- fedora extra packages for enterprise linux, fedora, red hat enterprise linux 6 +3 more +5 more Floating point exception in src/aiff.c 6.2 Medium
- vim, vim vim/vim +1 more Floating Point Comparison with Incorrect Operator in vim/vim 6.8 Medium