Project

General

Profile

« Previous | Next » 

Revision dca0b417

Added by mrkn (Kenta Murata) over 12 years ago

  • ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
    zero or negative precision is error. fixes #5098.
    [ruby-dev:44210]
  • test/bigdecimal/test_bigdecimal_util.rb: add test for the above
    change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e