Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/Comparison.sl @ 14055:89bbedfe0ad3
Direct LIR generation: refactoring alternative compilation path in GraalCompilerTest.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Wed, 05 Mar 2014 10:12:35 +0100 |
parents | b16ec83edc73 |
children |
line wrap: on
line source
function main() { println("<"); println(4 < 20); println(40 < 2); println(4 < 4); println(4 < 200000000000000000000000000); println(40000000000000000000000000 < 20); println(40000000000000000000000000 < 200000000000000000000000000); println(400000000000000000000000000 < 20000000000000000000000000); println(40000000000000000000000000 < 40000000000000000000000000); println("<="); println(4 <= 20); println(40 <= 2); println(4 <= 4); println(4 <= 200000000000000000000000000); println(40000000000000000000000000 <= 20); println(40000000000000000000000000 <= 200000000000000000000000000); println(400000000000000000000000000 <= 20000000000000000000000000); println(40000000000000000000000000 <= 40000000000000000000000000); println(">"); println(4 > 20); println(40 > 2); println(4 > 4); println(4 > 200000000000000000000000000); println(40000000000000000000000000 > 20); println(40000000000000000000000000 > 200000000000000000000000000); println(400000000000000000000000000 > 20000000000000000000000000); println(40000000000000000000000000 > 40000000000000000000000000); println(">="); println(4 >= 20); println(40 >= 2); println(4 >= 4); println(4 >= 200000000000000000000000000); println(40000000000000000000000000 >= 20); println(40000000000000000000000000 >= 200000000000000000000000000); println(400000000000000000000000000 >= 20000000000000000000000000); println(40000000000000000000000000 >= 40000000000000000000000000); println("=="); println(4 == 20); println(40 == 2); println(4 == 4); println(4 == 200000000000000000000000000); println(40000000000000000000000000 == 20); println(40000000000000000000000000 == 200000000000000000000000000); println(400000000000000000000000000 == 20000000000000000000000000); println(40000000000000000000000000 == 40000000000000000000000000); println("!="); println(4 != 20); println(40 != 2); println(4 != 4); println(4 != 200000000000000000000000000); println(40000000000000000000000000 != 20); println(40000000000000000000000000 != 200000000000000000000000000); println(400000000000000000000000000 != 20000000000000000000000000); println(40000000000000000000000000 != 40000000000000000000000000); }