News for hackers. Stuff that matters.
Re:Fast midpoint between two integers without overflow by gjadi on Thursday December 08, 2022 @04:58AM (#33906213)
> A good engineer should know how the computers work, and I don't know why this should be even questioned.

I am not disputing this point, I agree with it.

I am saying there is a difference between knowing int can overflow or knowing that floating point numbers are imprecise, and being attentive when you read `a + b` or `a == b` with float. I believe only experience can teach that (such experience may or should be provided by school).

There are no comments on this comment yet.