From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2002-05-30T13:03:51+09:00 Subject: Infinity (?!) 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 irb(main):002:0> So, my question is, how can you determine if a variable contains Infinity: irb(main):011:0* puts "To Infinity and beyond" if x == Infinity NameError: uninitialized constant Infinity from (irb):11 irb(main):012:0> Anyway to do that? Phil