Status: New
Owner: ----

New issue 927 by JanDeMooij: V8 prints wrong result for this test case
http://code.google.com/p/v8/issues/detail?id=927

Consider the following test case:
----
function a1() {
    var a2 = -1756315459;
    return ((((a2 & a2) ^ 1) * a2) << -10);
}
print(a1());
----
This prints -1291845632 in the V8 shell and Chrome.
Firefox and Safari print -2147483648, which I think is correct.


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to