mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 01:47:00 +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. :^)
423 B
423 B