Float INFINITY = 1.0 / 0.0

Since floats do grow arbitrarily there is no other bound as system memory.

    robert

"Farrel Lifson" <flifson / cs.uct.ac.za> schrieb im Newsbeitrag
news:1044884446.23956.4.camel / asgard.cs.uct.ac.za...
> Hi all,
>
> Does Ruby have an equivalent to Java's Float.MIN_VALUE and
> Float.MAX_VALUE (the smallest and largest finite numbers representable
> respectively)? The pickaxe book doesn't mention anything as such but
> perhaps it has been added in newer Ruby versions.
>
> Thanks in advance,
> Farrel Lifson
> --
> |Data Network Architecture Research Lab    mailto:flifson / cs.uct.ac.za
> |Dept. of Computer Science
http://people.cs.uct.ac.za/~flifson
> |University of Cape Town                   +27-21-650-3127
>
>