This inspection reports any equality or inequality comparisons to Double.NaN or Float.NaN. Equality comparison to these values is always false. Instead, use the Double.isNaN() of Float.isNaN() methods instead.