diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-08 02:25:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-08 02:25:44 +0000 |
commit | 17e9667fe9707ff5f20cc320cbd111f886caa5b9 (patch) | |
tree | b98a66a057626de6f856e0229554ea9f31722cfc /ext/socket/init.c | |
parent | dcfb7f6d541ee7e80f6a05726e533d4b75a4b785 (diff) |
refine parse_rat
* rational.c (read_num): return the exponent instead of the
divisor, to get rid of huge bignums.
* rational.c (parse_rat): subtract exponents instead of reduction
of powers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/init.c')
0 files changed, 0 insertions, 0 deletions