mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-30 06:52:52 +00:00
Bitwise and is defined in terms of two's complement, so some converting needs to happen for SignedBigInteger's sign/magnitude representation to work out. UnsignedBigInteger::bitwise_not() is repurposed to convert all high-order zero bits to ones up to a limit, for the two's complement conversion to work. Fixes test262/test/language/expressions/bitwise-and/bigint.js. |
||
---|---|---|
.. | ||
BitwiseOperations.cpp | ||
Division.cpp | ||
GCD.cpp | ||
ModularInverse.cpp | ||
ModularPower.cpp | ||
Multiplication.cpp | ||
SimpleOperations.cpp | ||
UnsignedBigIntegerAlgorithms.h |