Project

General

Profile

This project is closed and read-only.

Actions

Backport #9305

closed

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

Backport #9305: BigDecimal inconsistent between 2.0, 2.1 (probably incorrect on 2.1)

Added by kwerle (Kurt Werle) over 12 years ago. Updated over 12 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

Updated by zzak (zzak _) over 12 years ago Actions #1

  • 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?

Updated by zzak (zzak _) over 12 years ago Actions #2

  • 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: PDF Atom