BigDecimal and Rational multiplication rounds the rational number #1695
BigDecimal.new('100') * Rational(1, 100)
currently returns 0. It should be returning 1.
It appears to be rounding the rational number before multiplying:
The same operation works correctly in cruby:
The text was updated successfully, but these errors were encountered: