Files
kotlin-fork/idea/testData/inspectionsLocal/conventionNameCalls/replaceCallWithBinaryOperator/equalsFloatingPointLiteral1.kt.after
T
kenji tomita 1aa9d5673b Do not highlight replacement of equals involving floating-point types
Two tests with smart casts do not work yet
Part of KT-25933
2018-10-10 15:02:43 +03:00

3 lines
95 B
Plaintext
Vendored

// FIX: Replace total order equality with IEEE 754 equality
fun checkPi(x: Double) = x == 3.14