Some Float values don 't survive Marshal round-trip
---------------------------------------------------

                 Key: JRUBY-4334
                 URL: http://jira.codehaus.org/browse/JRUBY-4334
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.4
         Environment: ruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-12-09 
c260f9c) (Java HotSpot(TM) Client VM 1.6.0_17) [x86-java]
            Reporter: Vladimir Sizikov


Check this out:

{code}
Marshal.load(Marshal.dump(3.7e+31))
{code}

Returns 3.7e+31 for MRI and 37.0 for JRuby.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to