3 ms·
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.
by Joker_vD 1y 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.
- alternatex 1y agoOverflow/underflow does happen in C# though. You have to manually opt-out by using a `checked` block anywhere you do arithmetic.