Status: Accepted
Owner: [email protected]
Labels: Type-Bug Priority-Medium

New issue 1117 by [email protected]: When crankshaft is enabled we might do wrong integer multiplication when the left operand is constant 0
http://code.google.com/p/v8/issues/detail?id=1117

This will reproduce the problem:

function foo(y) {return 0 * y; }
for( var i = 0; i< 10000000; i++){
  foo(42);
}
print(1/foo(-42))

Expected result:
-Infinity

Actual result:
Infinity

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

Reply via email to