Sign in
webkit
/
WebKit
/
36f2b40ab7a77a55ad95fd9774a954dcad7e6be8
/
.
/
PerformanceTests
/
BigIntBench
/
big-int-simple-mul.js
blob: 1380f884ca9184208768dfe18d792994fdcc550c [
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
);
}