Y
Hacker News
new
|
ask
|
show
|
jobs
by
Joker_vD
340 days ago
We are not talking about C here. Imagine it was e.g. Java, or C#, or Rust in release mode, or heck, even Lean itself but with fixed-precision integers.
1 comments
alternatex
339 days ago
Overflow/underflow does happen in C# though. You have to manually opt-out by using a `checked` block anywhere you do arithmetic.
link