Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.4
-
Fix Version/s: JRuby 1.6RC1
-
Component/s: Core Classes/Modules, Intro
-
Labels:None
-
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]
-
Number of attachments :
Description
Check this out:
Marshal.load(Marshal.dump(3.7e+31))
Returns 3.7e+31 for MRI and 37.0 for JRuby.
Issue Links
- is depended upon by
-
JRUBY-4335
Marshal's dump output for Floats is different from MRI
-
RubyFloat.marshalDump is missing logic which MRI has. This is not too tough and you solve two bugs for the price on one (also resolve
JRUBY-4335).