JS: fix double compareTo behaviour for NaN and +-0 (KT-22723)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: -ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
fun equals1(a: Double, b: Double?) = a == b
|
||||
|
||||
|
||||
Reference in New Issue
Block a user