Project

General

Profile

Actions

Backport #9305

closed

BigDecimal inconsistent between 2.0, 2.1 (probably incorrect on 2.1)

Added by kwerle (Kurt Werle) almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Assignee:
-

Description

BigDecimal / BigDecimal seems to round off.

The test case has not been reduced to trivial, but it's pretty small and should be pretty clear.

ruby bigdecimal_spec.rb
passes for ruby 2.0.

Fails for ruby 2.1

ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]


Files

bigdecimal_spec.rb (779 Bytes) bigdecimal_spec.rb kwerle (Kurt Werle), 12/27/2013 06:57 AM
Actions #1

Updated by zzak (zzak _) almost 11 years ago

  • Status changed from Open to Feedback

Without an actual patch, I don't think we can merge a failing test.

Could you help in the discussion on #9316?

Actions #2

Updated by zzak (zzak _) almost 11 years ago

  • Status changed from Feedback to Closed

Also we don't accept backport tickets directly, if the bug exists in trunk it should be reported and fix there first.

Thanks!

Actions

Also available in: Atom PDF

Like0
Like0Like0