
errorprone.bugpattern.EqualsNaN.md Maven / Gradle / Ivy
The newest version!
As per JLS 15.21.1, == NaN comparisons always return false, even NaN == NaN.
Instead, use the isNaN methods to check for NaN.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy