From: Dave Thomas Date: 2013-04-12T06:24:21+09:00 Subject: [ruby-core:54201] Has ObjectSpace changed recently? --047d7b343f6002adac04da1c510b Content-Type: text/plain; charset=UTF-8 I just noticed that in 2.0, I see this: a = 102.7 b = 95.1 p ObjectSpace.each_object(Float).to_a #=> [NaN, Infinity, 1.7976931348623157e+308, 2.2250738585072014e-308] In 1.9.3, it is #=> [95.1, 102.7, 2.718281828459045, 3.141592653589793, NaN, Infinity, 2.220446049250313e-16, 1.7976931348623157e+308, 2.2250738585072014e-308] So the 20 version is missing the Math::PI and E constants, along with my two local variables. Dave --047d7b343f6002adac04da1c510b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I just noticed that in 2.0, I see this:

=C2=A0 =C2=A0 =C2=A0 =C2=A0a =3D 102.7
=C2=A0 =C2=A0 =C2=A0= =C2=A0b =3D 95.1
=C2=A0 =C2=A0 =C2=A0 =C2=A0p ObjectSpace.each_o= bject(Float).to_a=C2=A0
#=3D> [NaN, Infinity, 1.79769313486231= 57e+308, 2.2250738585072014e-308]

In 1.9.3, it is

<= div style>#=3D> [95.1, 102.7, 2.718281828459045, 3.141592653589793, NaN,= Infinity, 2.220446049250313e-16, 1.7976931348623157e+308, 2.22507385850720= 14e-308]

So the 20 version is missing the Math= ::PI and E constants, along with my two local variables.

Dave
--047d7b343f6002adac04da1c510b--