Sign in
webkit
/
WebKit
/
836e821ba12ece51c9e96da322c23ddcb72e66b7
/
.
/
JSTests
/
microbenchmarks
/
fround.js
blob: 22c5c08593badb782b9e2c60bc5bd7940ba60a6d [
file
] [
log
] [
blame
]
(
function
()
{
var
x
=
Math
.
fround
(
42.5
);
for
(
var
i
=
0
;
i
<
3000000
;
++
i
)
x
=
Math
.
fround
(
Math
.
fround
(
Math
.
fround
(
i
+
0.5
)
*
2.1353562
)
+
x
);
if
(
x
!=
9609154658304
)
throw
"Error: bad result: "
+
x
;
})();