Test for floating point equality
Open
migrated
Priority-Low
Type-NewCheck
- Dominant language
- Java
- Stars
- 7.2k
- Forks
- 820
- Avg merge
- 5h 9m
- Merged PRs (30d)
- 50
Description
_[Original issue](https://code.google.com/p/error-prone/issues/detail?id=84) created by **eaftan@google.com** on 2013-02-11 at 09:53 PM_
---
Floating point numbers are subject to rounding errors. Therefore, == and != should not be used to compare them.
- This might not be important, unless at least one value being compared was computed.
Contributor guide
Assessment
This issue has not been assessed yet.