title: Why does 4.9E-324/2.0 returns 0.0 in java
body: <p>I am writing a java program. When I do 4.9E-324/2, it returns 0.0. Using BigDecimal returns the correct value. Am I missing something?</p>
  
  <pre><code>double x = 4.9E-324/2.0; 
  System.out.println(x); //result is zero
  System.out.println(BigDecimal.valueOf(4.9E-324).divide(BigDecimal.valueOf(2.0)).toPlainString()); //result is a non-zero value
  </code></pre>