From: jmichel@...2.institut.math.jussieu.fr (Jean Michel) Date: 2001-07-29T17:49:35+09:00 Subject: [ruby-talk:18731] Re: Ruby as opposed to Python? In article , wrote: > Paul> For those who don't know, the Python world is currently > Paul> engaged in a heated argument about whether to change > Paul> division from 5/2==2 to 5/2==2.5 Ruby has the same int/int > Paul> behaviour and I have a feeling that you'll have the same > Paul> argument someday. > >>>>>> "Kent" == W Kent Starr writes: > > Kent> Sorry, but I don't see the 'problem' here. Both Ruby (1.63) > Kent> and Python (1.52) exhibit the following behaviour: > > Kent> 5 / 2 == 2 > Kent> 5.0 / 2 == 2.5 > > Kent> So where's the 'problem'? Is this not 'correct' behavior? I think both behaviours are incorrect. One should have 5/2==5/2 (the Rational number 5/2). Ruby has big ints, it should also have Rationals :)