• wischi@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    0/0 is undefined because everything would be a valid result. 0/0 is basically finding solutions for 0*x=0 and everything you put into x would satisfy the equation.

    • Kogasa@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      This doesn’t clearly identify a problem IMO. Division by a number is defined as multiplication by the multiplicative inverse, and 0 has no multiplicative inverse because 0x = 1 has no solutions.