diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-01 00:32:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-01 00:32:56 +0000 |
commit | fbb38d6d6afe264da33bbff0156dc21eb7cd6b36 (patch) | |
tree | 5ee29e2883b9598ea045c5ca693a0b9d966daa33 /siphash.c | |
parent | 55e99ef5ebbf999688a54b34ba34239aba96d89e (diff) |
rational.c: canonicalization case
* rational.c (float_numerator, float_denominator): fix for
canonicalization case where `Float#to_r` could return an Integer
not a Rational. although mathn.rb has been removed in the
trunk, fix for the backport purpose.
[ruby-core:80942] [Bug #13528]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'siphash.c')
0 files changed, 0 insertions, 0 deletions