Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid equality comparisons of floating point numbers
Equality comparisons of floating point numbers are always dangerous and this case the code was actually failing on x86 with gcc 6 because one side of the comparison was still in a register and hence had 80 bit precision while the other side had been stored to memory and reduced to 64 bit precision: https://bugzilla.redhat.com/show_bug.cgi?id=1303315 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69570
- Loading branch information