ladybird/Userland/Libraries/LibCrypto/BigInt/Algorithms
Nico Weber 1f98639396 LibCrypto+LibJS: Better bigint bitwise_and binop
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.
2022-01-18 20:04:06 +03:30
..
BitwiseOperations.cpp LibCrypto+LibJS: Better bigint bitwise_and binop 2022-01-18 20:04:06 +03:30
Division.cpp
GCD.cpp
ModularInverse.cpp
ModularPower.cpp Everywhere: Fix many spelling errors 2022-01-07 10:56:59 +01:00
Multiplication.cpp
SimpleOperations.cpp
UnsignedBigIntegerAlgorithms.h LibCrypto+LibJS: Better bigint bitwise_and binop 2022-01-18 20:04:06 +03:30