Why Floating-Point Math Turns Zero Division Into Infinity
Because crashing the program was apparently too mainstream. If you divide a floating point decimal by zero, the system doesn't error out; it just hands you a literal 'Infinity' value and forces the rest of your math to deal with it.

Keep exploring facts in this topic.
Technology →




