Sign in
webkit
/
WebKit
/
2b7db40d04e23e466c35ac26a2cac6ea07d1f8ff
/
.
/
PerformanceTests
/
BigIntBench
/
big-int-simple-div.js
blob: 990539d63b32773b10553d93d4ec3fc291c96de3 [
file
] [
log
] [
blame
]
function
bigInt
(
a
,
b
)
{
let c
=
a
/
b
;
return
a
+
c
/
b
;
}
noInline
(
bigInt
);
for
(
let i
=
0
;
i
<
100000
;
i
++)
{
bigInt
(
0b1111n
,
0b1010n
);
}
let out
;
for
(
let i
=
0
;
i
<
100000
;
i
++)
{
out
=
bigInt
(
0xffffffffffffffffffn
,
0xaaffffffffffffffffffn
);
}