diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-04 14:02:59 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-04 14:02:59 +0000 |
commit | 85bcd2b35f7f5b5627c8a64381c1859037696ff9 (patch) | |
tree | b4deb2725d50fd591744d669ed701a96a1dadc31 /test/test_tempfile.rb | |
parent | ab73022cb2357db5e757aed6a7c2f0c4268aa7c7 (diff) | |
download | ruby-85bcd2b35f7f5b5627c8a64381c1859037696ff9.tar.gz |
bignum.c: Bignum#fdiv avoids double division when divisor is bignum
`Rational(int, bignum).to_f` sometimes returned a wrong result because
`Bignum#div` casted its divisor to double. [Bug #14637] [ruby-core:86330]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_tempfile.rb')
0 files changed, 0 insertions, 0 deletions