diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-13 16:22:08 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-13 16:22:08 +0000 |
commit | 3e3318112f94b7d59eb57f7e28800a1b5290ae6b (patch) | |
tree | 69e553617b593756c00523ac529ed50cb3b04dc5 /numeric.c | |
parent | f6dcab543f65537dc61f088545741d05b5e0d518 (diff) | |
download | ruby-3e3318112f94b7d59eb57f7e28800a1b5290ae6b.tar.gz |
complex.c: refactoring and small optimization
* complex.c (nucomp_expt): optimize the access to the numerator and
denominator of a rational number.
* complex.c (k_rational_p): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
0 files changed, 0 insertions, 0 deletions