News for hackers. Stuff that matters.
Re:1/0 = 0 by mehrdadn on Friday August 10, 2018 @07:25PM (#17737404)
Nope, I'd disagree. Zero isn't an approximation of some epsilon, it's really just zero. It makes sense for the output sign to match the input sign.
Re:1/0 = 0 by gowld on Saturday August 11, 2018 @01:21AM (#17738484)
What is the sign of 0?

It's 0.

Re:1/0 = 0 by dahart on Saturday August 11, 2018 @04:09AM (#17738851)
Parent was talking about the sign of the numerator. But... zero in IEEE 754 representation has a meaningful sign bit. 1/-0 = -inf.
Re:1/0 = 0 by GlitchMr on Saturday August 11, 2018 @06:45AM (#17739172)
Or as IEEE 754 sees it (you can try this in your JavaScript REPL).

  >> 1 / 0
  Infinity
  >> 1 / -0
  -Infinity