I am aware of the x87 vs. SSE2 differences, but I don't think this issue has anything to do with that. Note that my example demonstrated that a given Float, when processed by pack("G") + unpack("G") is changed into another bit pattern...johan556 (Johan Holmberg)
Array#pack("G") gives incorrect result *sometimes*. The problem occurs with: * all Ruby versions I have tried: 2.0.0, 2.3.0 and Subversion-trunk (all built from source) * only with 32-bit builds (not 64-bit) * only with GCC (not CLA...johan556 (Johan Holmberg)
=begin On Wed, Sep 22, 2010 at 1:48 AM, Yusuke ENDOH <mame@tsg.ne.jp> wrote: >> >> Maybe if there is only one element to the right of "in", >> it should be checked if having an #include? method and then call it ? >> (or check if it...johan556 (Johan Holmberg)
=begin In a file loaded with "Kernel.load(..., true)", the way constants are looked up has changed since 1.8. The attached script "helloworld.rb" works in Ruby 1.8, but fails in Ruby 1.9. It should be invoked like below to provoke the e...johan556 (Johan Holmberg)