[FIR] Use ieee754equals for floating-point equality operations
This commit is contained in:
committed by
Mikhail Glukhikh
parent
d66281d11f
commit
b74652aa5b
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
fun eq_double_doubleN(a: Double, b: Double?) = a == b
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
fun <A: Double, B: Double?> eq_double_doubleN(a: A, b: B) = a == b
|
||||
|
||||
|
||||
Reference in New Issue
Block a user