Files
kotlin-fork/compiler/testData/codegen/box/boxingOptimization/explicitEqualsOnDouble.kt
T
Ivan Kylchik e981b1f958 [Native] Support evaluation of const intrinsics for K2
#KT-56023
#KT-55469 Fixed
2023-03-24 15:55:03 +00:00

7 lines
131 B
Kotlin
Vendored

fun equals1(a: Double, b: Double) = a.equals(b)
fun box(): String {
if ((-0.0).equals(0.0)) return "fail 0"
return "OK"
}