Files
kotlin-fork/idea/resources/inspectionDescriptions/ConvertNaNEquality.html
T

8 lines
234 B
HTML

<html>
<body>
This inspection reports an equality check with <b>Double.NaN</b> which can be replaced with <b>a.isNaN()</b>.
For every floating point value <b>a</b>, <b>a == NaN</b> will always result in <b>false</b>.
</body>
</html>