Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zeroq
18 hours ago
|
parent
|
context
|
favorite
| on:
That XOR Trick (2020)
overflow
criddell
17 hours ago
[–]
Would a BigInteger sum still overflow?
reply
Arnavion
17 hours ago
|
parent
[–]
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.
reply
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: