mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
I don't fully understand the BigInt math here, as the computation for d1 and d2 don't align with the spec due to BigInt logic. This was discussed a bit in SerenityOS's Discord some years ago: https://discord.com/channels/830522505605283862/851522357734408232/978786665306918932 But some new tests in test262 indicate that we need to handle negative values here, instead of just throwing away the sign.