On Tue, Feb 18, 2003 at 10:51:47AM +0900, Daniel Carrera wrote: > It seems that Ruby has a concept of infinity: > > >> 1.0/0 > => Infinity > >> (1.0/0).class > => Float > > I wish to return this value, but I can't quite figure out what Ruby's > symbol for Infinity is. I guess that I could write: > > my_method > ... > return 1.0/0 > end http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/61840 -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com ...Deep Hack Mode -- that mysterious and frightening state of consciousness where Mortal Users fear to tread. -- Matt Welsh