[FIR] Use ieee754equals for floating-point equality operations

This commit is contained in:
Mark Punzalan
2020-04-16 23:01:32 -07:00
committed by Mikhail Glukhikh
parent d66281d11f
commit b74652aa5b
36 changed files with 85 additions and 491 deletions
@@ -1,5 +1,4 @@
// !LANGUAGE: -ProperIeee754Comparisons
// IGNORE_BACKEND_FIR: JVM_IR
// DONT_TARGET_EXACT_BACKEND: JS_IR
fun equals1(a: Float, b: Float?) = a == b