Sign in
webkit
/
WebKit
/
73559930a6418bc4621c1c5774b11e1be9c21a8f
/
.
/
LayoutTests
/
js
/
script-tests
/
dfg-mul-big-integer-with-small-integer-and-bitor.js
blob: 8ab157e9ad499ab2ef217652f8a1ec8f40490f66 [
file
] [
log
] [
blame
]
description
(
"Tests what happens when you multiply a big unknown integer with a small known integer and use the result in a bitop."
);
function
foo
(
a
)
{
return
(
a
*
65536
)
|
0
;
}
for
(
var
i
=
0
;
i
<
100
;
++
i
)
shouldBe
(
"foo(2147483647)"
,
"-65536"
);