Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ion
/
bug1053074.js
blob: 8a9cf78b4184792cc0d9976f67bbcb24ec73404c [
file
] [
log
] [
blame
]
function
f
(
y
)
{
return
2147483648
<
y
>>>
0
}
assertEq
(
f
(
0
),
false
);
assertEq
(
f
(-
8
),
true
);
function
g
(
y
)
{
var
t
=
Math
.
floor
(
y
);
return
2147483648
<
t
+
2
;
}
assertEq
(
g
(
0
),
false
)
assertEq
(
g
(
2147483647
),
true
)