logoalt Hacker News

Fire-Dragon-DoL10/12/20240 repliesview on HN

Agree, I'm not saying there aren't counter examples, I'm just stating that making the call of returning zero when dividing by zero it's not an insane call, there are valid reasons for doing that. It's a judgement call (and they do provide a function that does the right thing)