Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.1RC2
-
Component/s: Core Classes/Modules
-
Labels:None
-
Number of attachments :
Description
Loaded suite test/externals/ruby_test/test/core/Numeric/instance/tc_to_int Started ...F Finished in 0.094 seconds. 1) Failure: test_to_int_twos_complement(TC_Numeric_ToInt_InstanceMethod):1: <9223372036854775808> expected but was <9223372036854775807>.
Issue Links
- is duplicated by
-
JRUBY-1362
Failure in ruby_test Numeric#truncate test
-
It's not a #truncate issue since that float itself doesn't match MRI.
puts 9223372036854775808.9223372036854775808
MRI:
9.22337203685478e+018
JRuby:
9.223372036854776e+18
Either a parser or a rounding issue.