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