view graal/com.oracle.truffle.sl.test/tests/Div.sl @ 19757:e8d2f3f95dcd

Truffle-DSL: implemented duplication check for specializations with @Cached to avoid duplicates for multithreaded AST execution.
author Christian Humer <christian.humer@gmail.com>
date Tue, 10 Mar 2015 19:28:26 +0100
parents b16ec83edc73
children
line wrap: on
line source

function main() {  
  println(4 / 2);  
  println(4 / 4000000000000);  
  println(3000000000000 / 3);  
  println(3000000000000 / 3000000000000);  
}