Comment on It'll be ok. Nobody's going to judge you.

<- View Parent
davad@lemmy.world ⁨3⁩ ⁨hours⁩ ago

-1/0 = Boom

But more literally, the answer is undefined.

Instead of thinking of division as a “proper” operator, think of it as shorthand for “x0 = -1". Since the multiplication operator already defines "x0 => 0” and “-1 != 0”, there literally is no answer by definition. So “undefined”.

For “0/0”, it’s a little different. Since “x*0 => 0”, literally every number satisfies “0/0”. Since we’re expecting a single number as the answer, we call the answer to this “undefined” too.

source
Sort:hotnewtop