Sign in
cobalt
/
cobalt
/
2ea2238d90d36bda2ed661e5419f2b40fae96ba4
/
.
/
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
);