Sign in
chromium
/
external
/
github.com
/
google
/
error-prone
/
b4c55352f99aee460e730bd117fe2bf1234d4d2d
/
.
/
docs
/
bugpattern
/
EqualsNaN.md
blob: b375262d3ff00f22c39cb7df5b3c380812758c9a [
file
] [
view
]
As
per JLS
15.21
.
1
,
==
NaN
comparisons always
return
false
,
even
NaN
==
NaN
.
Instead
,
use
the isNaN methods to check
for
NaN
.