From: Tom Link Date: 2009-01-11T00:30:57+09:00 Subject: Re: Behavior of 0 and 0.0... > eg. in Python: > or Perl: > 1.0/0.0 > Illegal division by zero at - line 1. What would the equivalent of the following code return in perl or python then? a = 1.0; 50.times { a /= 1_000_000_000; p 1.0 / a } What would you expect to be the result of: p 1.0 / 0.1 < 1.0 / a In ruby, it's true. Maybe it helps to think of 0.0 as 0.0 + eta with eta being too small to be represented, maybe not. The integer 0 is just 0 and x / 0 is not a number.