From: Mikael Brockman Date: 2004-10-13T02:15:52+09:00 Subject: Re: "nan".to_f ? Markus writes: > On Tue, 2004-10-12 at 09:22, Mikael Brockman wrote: > > Markus writes: > > > > > Yes, but his point is that "NaN" _is_ the string representation of > > > valid floating point value, defined and handled by the system, with > > > standardized semantics, etc. > > > "NaN".to_f should return NaN. How else are you going to reliably > > > get NaN if you need it? > > > > 0.0/0.0? :-) > > I almost went off on an IEEE spiel until I saw the ":-)" Actually, I'm as ignorant as you first assumed. Feel free to spiel if you want. :-)