Sign in
webkit
/
WebKit
/
04f027a29717944fe119ba52f37628c508e2d03c
/
.
/
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
;
})();