Sign in
webkit
/
WebKit
/
6ddc9d48eb4dde936b8551b5167248cba0f85d9c
/
.
/
JSTests
/
stress
/
ftl-negate-zero.js
blob: 516d851efa981940a3b92055cae31aa94555d314 [
file
] [
log
] [
blame
]
function
foo
(
x
)
{
return
-
x
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
foo
(
0
);
if
(
1
/
result
!=
"-Infinity"
)
throw
"Error: bad result: "
+
result
;
}