From: "U.Nakamura" Date: 2009-11-09T12:13:47+09:00 Subject: [ruby-core:26643] Re: [Feature #2347] Math::INFINITY Hello, In message "[ruby-core:26632] [Feature #2347] Math::INFINITY" on Nov.09,2009 04:53:15, wrote: > + rb_define_const(rb_mMath, "INFINITY", DBL2NUM(1.0/0.0)); FYI, some strict compilers doesn't permit to divide by zero literal. Regards, -- U.Nakamura