Hacker News new | ask | show | jobs
by criddell 354 days ago
Would a BigInteger sum still overflow?
1 comments

It doesn't matter. Overflow is a non-issue as long as you have wrapping addition and subtraction operators, which C# does - regular `+` and `-` not inside `checked {}`. You don't need to reach for BigInteger.