diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-10 10:35:08 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-10 10:35:08 +0000 |
commit | 2e2fabc4335763199c69379502f8033d50f157a0 (patch) | |
tree | 11dbfb655c2f177ba151526e3e7d025580965f85 /process.c | |
parent | 6bf7dd725bf57dc6d52a7fe3353f70d061193d94 (diff) | |
download | ruby-2e2fabc4335763199c69379502f8033d50f157a0.tar.gz |
* complex.c (nucomp_rationalize): calls rationalize of real part if
imaginary part is exactly zero. The patch is made by Marc-Andre
Lafortune. fixes [Bug #5178] [ruby-core:38885]
* test/ruby/test_complex.rb (test_rationalize): add a test for the
above change.
* complex.c (nucomp_to_r): fix RDoc comment. The patch is made by
Marc-Andre Lafortune.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
0 files changed, 0 insertions, 0 deletions