News for hackers. Stuff that matters.
Re:1/0 = 0 by dan-robertson on Friday August 10, 2018 @04:48PM (#17736616)
What of a language without exceptions? A correct program can not assume that (x / y) * y = x because such an equality does not hold in general. Therefore the program must do something right in the case that y is zero before it tries dividing x by y to be correct. It shouldn’t really matter what x / 0 is because if a program relies on its value then it is probably wrong.

There are no comments on this comment yet.