S
Steve Chapel
Denver said:It mathematics, division by 0 is undefined, not infinity (infinity is
not large enough).
Yes, I understand that 1/0 is undefined in the real numbers.
However, in IEEE arithmetic, there is +0.0 which represents both 0 and
positive numbers that are too small to be represented with any
precision. in IEEE floating point, +1.0/+0.0 is +infinity. In most
programming environments, 1.0/0.0 is +infinity. That's what I would have
expected in Perl.