JVM: Fix IEEE 754 comparison generation for boxed numbers

This commit is contained in:
Dmitry Petrov
2020-01-14 10:12:50 +03:00
parent 26f435eb90
commit d5ff1047a5
7 changed files with 78 additions and 1 deletions
@@ -1101,6 +1101,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/binaryOp/compareWithBoxedLong.kt");
}
@TestMetadata("compareWithBoxedNotNullDouble.kt")
public void testCompareWithBoxedNotNullDouble() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/compareWithBoxedNotNullDouble.kt");
}
@TestMetadata("compareWithBoxedNotNullLong.kt")
public void testCompareWithBoxedNotNullLong() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/compareWithBoxedNotNullLong.kt");
}
@TestMetadata("divisionByZero.kt")
public void testDivisionByZero() throws Exception {
runTest("compiler/testData/codegen/box/binaryOp/divisionByZero.kt");