KT-26629 Inspection to replace equality check with NaN with isNaN call

This commit is contained in:
Dereck Bridie
2019-03-21 18:19:10 +01:00
committed by Mikhail Glukhikh
parent 07e908f15f
commit 574178882a
18 changed files with 197 additions and 0 deletions
@@ -0,0 +1,6 @@
// RUNTIME_WITH_FULL_JDK
fun test() {
val a = 0.5f
val x = a.isNaN()
}