Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
PerformanceTests
/
BigIntBench
/
big-int-simple-mod.js
blob: a50dc6ff372d153523a9c873cea55d32304e1133 [
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
);
}