Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
LayoutTests
/
js
/
script-tests
/
dfg-mul-big-integers.js
blob: 33de61924e524327f58c568657d7d5937f39d45d [
file
] [
log
] [
blame
]
description
(
"Tests what happens when you multiply large integers in an integer context."
);
function
foo
(
a
,
b
)
{
return
(
a
*
b
)
|
0
;
}
for
(
var
i
=
0
;
i
<
100
;
++
i
)
shouldBe
(
"foo(2147483647, 2147483646)"
,
"-2147483648"
);