title: How does OCaml manage float addition?
body: <p>In Java, if you do <code>0.2 + 0.01</code>, you will get <code>0.21000000000000002</code></p>
  
  <p>This is due to <em>IEEE 754</em>.</p>
  
  <p>However, in OCaml, if you do <code>0.2 +. 0.01</code>, then you get the correct result <code>0.21</code>.</p>
  
  <p>I think OCaml also obeys <em>IEEE 754</em> for floats, why OCaml can give correct result while Java cannot?</p>