title: Why precision lost for double casting in Java?
body: <p>I am surprised to see below difference in Java:</p>
  
  <pre><code> (double)(int1/int2)  // return 0.0 - precision lost.
  
   (double)int1/int2    // return 9.3123325E-10 - precision kept.
  </code></pre>
  
  <p>Is it by design that the bracket in the first expression makes the evaluation lose the precision? </p>