The former is about `float` primitives, and IEEE s...
# announcements
k
The former is about
float
primitives, and IEEE says
Nan != Nan
, latter is about actual boxed objects, so it also checks for object identity (because it must adhere to the reflexive property of
java.lang.Object.equals
).
👍 1