aboutsummaryrefslogtreecommitdiffstats
path: root/node.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-01 00:32:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-01 00:32:56 +0000
commit75e3c77de48657fb438180b7ae2cc8f0470ec188 (patch)
tree5ee29e2883b9598ea045c5ca693a0b9d966daa33 /node.h
parentdcd38d4b184f97a25a359d28d93d8f6ea007957d (diff)
downloadruby-75e3c77de48657fb438180b7ae2cc8f0470ec188.tar.gz
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 'node.h')
0 files changed, 0 insertions, 0 deletions