1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 08:25:07 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/BigInt
Linus Groh 58c6a156bf LibCrypto: Fix subtracting two negative SignedBigIntegers
Currently, we get the following results

    -1 - -2 = -1
    -2 - -1 =  1

Correct would be:

    -1 - -2 =  1
    -2 - -1 = -1

This was already attempted to be fixed in 7ed8970, but that change was
incorrect. This directly translates to LibJS BigInts having the same
incorrect behavior - it even was tested.
2021-11-16 10:06:53 +00:00
..
bigint-basic.js LibJS: Fix typo in LHS Object and RHS BigInt loosely equals check 2021-10-15 01:59:09 +01:00
bigint-minus.js LibCrypto: Fix subtracting two negative SignedBigIntegers 2021-11-16 10:06:53 +00:00
bigint-number-mix-errors.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
BigInt.js LibJS: Tweak error message in the NumberToBigInt abstract operation 2021-07-09 13:20:51 +01:00
BigInt.prototype.@@toStringTag.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
BigInt.prototype.toLocaleString.js LibJS: Change wording of ErrorType::NotA to be independent of context 2021-09-12 00:16:39 +02:00
BigInt.prototype.toString.js LibJS: Change wording of ErrorType::NotA to be independent of context 2021-09-12 00:16:39 +02:00
BigInt.prototype.valueOf.js LibJS: Change wording of ErrorType::NotA to be independent of context 2021-09-12 00:16:39 +02:00