title: JavaScript Math.round bug in IE
body: <p>This JavaScript demonstrates a bug in IE that is driving me nuts right now:</p>
  
  <pre><code>var y = 6044629098073143; // this exact integer easily fits into an IEEE double
  document.write(y + " " + Math.round(y)+"&lt;br&gt;&lt;br&gt;");
  </code></pre>
  
  <p>The output in IE 8 (and Opera 12.02) shows that <code>Math.round</code> is off by 1:</p>
  
  <pre><code>6044629098073143 6044629098073144
  </code></pre>
  
  <p>Output in Firefox, Chrome and Safari is correct.</p>
  
  <p>What on earth is going on here with IE and Opera?</p>