From: "NAKAMURA, Hiroshi" Date: 2003-01-23T19:43:44+09:00 Subject: Re: Accessing Infinity Hi, > From: "Robert Klemme" > Sent: Monday, January 20, 2003 6:13 PM > Or if you want to assign them at all. "x = Float::Infinity" is much cleaner > and better to read than "x = 1.0/0.0". I used kind of "1.0/0.0" workarounds in soap4r. It's for mapping XML Schema instance to Ruby's object, not for comparing. I'm happy with Float::Infinity but there must be few person who use it... And, other than Float::Infinity, what are good names for -Infinity, +0, -0, and NaN? NegativeInfinity, Zero, NegativeZero, NaN? Regards, // NaHi