Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testDivisionWithNegative1.js
blob: 18a3b266fa43319e365fe2b15275fab66c90c46f [
file
] [
log
] [
blame
]
function
testDivisionWithNegative1
()
{
for
(
var
i
=
3
;
i
>=
0
;
--
i
)
c
=
i
/
-
1
;
return
1
/
c
;
}
assertEq
(
testDivisionWithNegative1
(),
-
Infinity
);