From: Florian Gilcher Date: 2009-06-02T22:44:28+09:00 Subject: Re: <, >, and ranges in a case statement. On Jun 2, 2009, at 3:32 PM, Max Williams wrote: > Clifford Heath wrote: >> Brian Candler wrote: >>> Simplest solution is to use a Range with extreme bounds, >> >> ... such as a range that ends in Infinity: >> >> 65..(1/0.0) >> => 65..Infinity >> >> ;-) >> >> Clifford Heath. > haha, i thought about that but it seemed kind of crazy. It > surprises me > a little that Infinity isn't a singleton class like NilClass in ruby. I guess that is because there are actually 2 infinities and both are valid values with well-defined operations in IEEE754. Regards, Florian -- Florian Gilcher smtp: flo@andersground.net jabber: Skade@jabber.ccc.de gpg: 533148E2