diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-18 14:24:15 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-18 14:24:15 +0000 |
commit | 3695ae9e6bc86e95b7ad9da78b6c82a12e0cd531 (patch) | |
tree | 4944c8549445b4d1e67d12dcf25ac7d2e48668af /lib | |
parent | d7e07b9d24899569edbb9a3e9ff8a7410baa01aa (diff) | |
download | ruby-3695ae9e6bc86e95b7ad9da78b6c82a12e0cd531.tar.gz |
complex.c: refactoring
* complex.c (nucomp_abs): use rb_math_hypot directly.
* complex.c (nucomp_arg): use rb_math_atan2 directly.
* complex.c (imp2, m_{atan2,hypot}_bang, m_hypot): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions