Quoting Frederick Cheung <frederick.che...@gmail.com>:
> 
> On 10 Feb 2011, at 20:20, Robert Walker <li...@ruby-forum.com> wrote:
> 
> > Fearless Fool wrote in post #980885:
> >> The gist of my question: is there a way to *portably* store and retrieve
> >> Infinity in an ActiveRecord float column?
> > 
> > Okay, first some clarifications:
> > 
> > Infinity is not value and cannot be represented by a float (lower case). 
[snip]
> 
> IEEE floats handle infinity ( 
> http://www.gnu.org/s/libc/manual/html_node/Infinity-and-NaN.html ). 
> Definitely not a rubyism
> 

And Not a Number (NaN).  IIRC, square root of -1 is NaN.

Jeffrey

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to