Use common assertion in ir-tests and proper arithmetic flag

This commit is contained in:
Mikhael Bogdanov
2018-08-02 09:43:19 +02:00
parent cb53e86183
commit 0ddbe12e62
9 changed files with 22 additions and 25 deletions
@@ -1,3 +1,6 @@
// !LANGUAGE: +ProperIeee754Comparisons
//IGNORE_BACKEND: JS_IR
fun ltDD(x: Comparable<Double>, y: Double) =
x is Double && x < y