haikuwebkit/LayoutTests/js/dom/floating-point-truncate-rsh...

22 lines
366 B
HTML

<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var largeNeg = -2715228072;
if ((largeNeg >>> 5) == 49366850)
document.write("PASS<br>");
else
document.write(largeNeg >>> 5);
var lhs = -1699021058.1;
var rhs = 0;
if ((lhs >>> rhs) == 2595946238)
document.write("PASS<br>");
else
document.write(lhs >>> rhs);
</script>
</body>