News for hackers. Stuff that matters.
Re:My first verified imperative program by Joker_vD on Monday July 07, 2025 @05:52PM (#44495045)
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.
Re:My first verified imperative program by alternatex on Tuesday July 08, 2025 @10:44AM (#44500477)
Overflow/underflow does happen in C# though. You have to manually opt-out by using a `checked` block anywhere you do arithmetic.