News for hackers. Stuff that matters.
Re:Fast midpoint between two integers without overflow by IncRnd on Wednesday December 07, 2022 @04:07PM (#33900258)
> No, you’d need an Int19.

No, that's completely false. You don't need an Int19 but an Int1.

Re:Fast midpoint between two integers without overflow by Aaargh20318 on Wednesday December 07, 2022 @05:12PM (#33901074)
How do you figure that you can store the result of adding 2 Int18s in an Int1 ? Remember, we’re talking about static types and you don’t know the values at compile time.