Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
zeroq
11mo ago
0 comments
Save
Share
overflow
0 comments
2 comments · 1 top-level
top
newest
oldest
criddell
11mo ago
· 1 in thread
Would a BigInteger sum still overflow?
Arnavion
11mo ago
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.
j
/
k
navigate · click thread line to collapse