1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00
serenity/Userland/Libraries/LibCrypto/BigInt
Timothy Flynn b0d6399f60 LibCrypto: Do not allow signed big integers to be negative zero
If a big integer were to become negative zero, set the sign to instead
be positive. This prevents odd scenarios where users of signed big ints
would falsely think the result of some big int arithmetic is negative.
2022-02-06 15:49:54 +00:00
..
Algorithms LibCrypto+LibJS: Better bigint bitwise_or binop 2022-01-18 20:04:06 +03:30
SignedBigInteger.cpp LibCrypo: Simplify mixed-sign bitwise_or 2022-01-18 20:04:06 +03:30
SignedBigInteger.h LibCrypto: Do not allow signed big integers to be negative zero 2022-02-06 15:49:54 +00:00
UnsignedBigInteger.cpp LibCrypto: Do not allow signed big integers to be negative zero 2022-02-06 15:49:54 +00:00
UnsignedBigInteger.h LibCrypto: Do not allow signed big integers to be negative zero 2022-02-06 15:49:54 +00:00