Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/Comparison.sl @ 21654:cd6b1b2189a0
Remove GuardingPiNode and replace with FixedGuardNode + PiNode.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 02 Jun 2015 11:45:43 +0200 |
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); }