diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-04 00:22:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-04 00:22:13 +0000 |
commit | 3e063ca7ae85d97f24c6b2933d02f80daffd7e7b (patch) | |
tree | 5d9dd476070ea4fb1d30abe1df7783b6ecaf5a1f /complex.c | |
parent | 7d9623eb242af760dc7b4f2bd93d46d3814dab36 (diff) |
complex.c: rb_dbl_complex_polar_pi
* complex.c (rb_dbl_complex_polar_pi): suffixed with _pi to
clarify that `ang` is not radian, but multiplied by PI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r-- | complex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -546,7 +546,7 @@ f_complex_polar(VALUE klass, VALUE x, VALUE y) /* returns a Complex or Float of ang*PI-rotated abs */ VALUE -rb_dbl_complex_polar(double abs, double ang) +rb_dbl_complex_polar_pi(double abs, double ang) { double fi; const double fr = modf(ang, &fi); |