Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/Comparison.sl @ 21088:355ebfa2ba95
Merge.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 22 Apr 2015 15:48:18 +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); }