1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:27:35 +00:00
serenity/Userland
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
..
Applets LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
Applications FontEditor: Retrieve code point abbreviations from LibUnicode 2022-01-18 15:13:25 +00:00
Demos Everywhere: Fix spelling mistakes 2022-01-07 15:44:42 +01:00
DevTools HackStudio: Hookup git commit message detection and highlighting 2022-01-18 09:01:16 +01:00
DynamicLoader Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00
Games Snake: Add link to help pages in menu 2022-01-13 03:45:17 -08:00
Libraries LibCrypto+LibJS: Better bigint bitwise_and binop 2022-01-18 20:04:06 +03:30
Services WindowServer: Pick font with glyphs for digits for ScreenNumberOverlay 2022-01-17 02:10:09 +01:00
Shell Shell: Add a "noop" builtin aliased to ":" 2022-01-09 12:25:36 +01:00
Utilities disasm: Don't fail when trying to disassemble empty files 2022-01-18 09:08:14 +01:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00