Sign in
webkit
/
WebKit
/
bc3bd7331f8afd107c43880ce2c020876d9bce51
/
.
/
PerformanceTests
/
BigIntBench
/
big-int-simple-bit-not.js
blob: 488a70d4f74038a1eaad5aab0d744cb431137f19 [
file
] [
log
] [
blame
]
function
bigInt
(
a
,
b
)
{
let c
=
~
a
;
return
~
a
+
~
c
;
}
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
);
}