Project

General

Profile

Actions

Backport #9305

closed

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

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

Also available in: Atom PDF

Like0
Like0Like0