Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
eqvinox
· 1y ago · 0 comments
Note 1/0 (or x/0 with x>0) isn't undefined or an exception in 754 FP math, it's +infinity. It's 0/0 that's the problem. Defining 1/0=0 isn't really helpful imho.
Comments
[–]
yarg
1y ago
> Defining 1/0=0 isn't really helpful imho
But it's quite a nice way to mask program bugs.