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