2009/11/9 Marc-Andre Lafortune <redmine / ruby-lang.org>:
> It is easy to get an infinity in Ruby (ex: 1.0/0) but that may not be obvious to everyone.
>
> Could we have Math::INFINITY which would make code using it cleaner?

As my understand, Ruby has not had Math::INFINITY because C does not have it.
Introducing infinity might decrease portability of Ruby. But I think
actually it is not a problem.

Now Ruby assumes the environment has native threading and US-ASCII
compatible locale.
Here are a problem. Is there an environment which satisfies the
conditions but does not have infinity?

Thanks,
-- Yuki Sonoda (Yugui)