I discover today that 5.0/0
doesn't throw DivideByZeroException
but it evaluates into infinity
.
This infinity value can be multiplied by -1
and change into -infinity
and can take part into other infinity mathematics.
What is the need of that and what are the practical implementations that needs this feature?
Maths forbids the division by 0, you can have infinity only when you divide by limit->0. Why they haven't introduced a new variable that represent the mathematic limit?