• DannyBoy
    link
    fedilink
    English
    arrow-up
    6
    ·
    7 months ago

    It’s an error, since no amounts of zeros, even infinite, would make it equal 10.

    • NeatNit@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      7 months ago

      https://en.wikipedia.org/wiki/Division_by_zero#Floating-point_arithmetic

      In IEEE arithmetic, division of 0/0 or ∞/∞ results in NaN, but otherwise division always produces a well-defined result. Dividing any non-zero number by positive zero (+0) results in an infinity of the same sign as the dividend. Dividing any non-zero number by negative zero (−0) results in an infinity of the opposite sign as the dividend. This definition preserves the sign of the result in case of arithmetic underflow.