On 2002.05.30, Phil Tomson <ptkwt / shell1.aracnet.com> wrote: > I didn't know there was an Infinity value in Ruby, just found it today: > > irb(main):001:0> x = 2.0/0.0 > Infinity Strange, why does Float only allow this? See: irb(main):001:0> 2/0 ZeroDivisionError: divided by 0 from (irb):1:in `/' from (irb):1 Float allowing division by zero is certainly not of least surprise to me. ;-) -- Dossy -- Dossy Shiobara mail: dossy / panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)