mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 09:26:28 +02:00
It wasn't safe to use addition_would_overflow(a, -b) to check if subtraction (a - b) would overflow, since it doesn't cover this case. I don't know why we didn't have subtraction_would_overflow(), so this patch adds it. :^)