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 /internal.h | |
parent | 7d9623eb242af760dc7b4f2bd93d46d3814dab36 (diff) | |
download | ruby-3e063ca7ae85d97f24c6b2933d02f80daffd7e7b.tar.gz |
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 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h index e5f578dde0..07d5dee5ac 100644 --- a/internal.h +++ b/internal.h @@ -1299,7 +1299,7 @@ VALUE rb_complex_plus(VALUE, VALUE); VALUE rb_complex_mul(VALUE, VALUE); VALUE rb_complex_abs(VALUE x); VALUE rb_complex_sqrt(VALUE x); -VALUE rb_dbl_complex_polar(double abs, double ang); +VALUE rb_dbl_complex_polar_pi(double abs, double ang); VALUE rb_complex_pow(VALUE self, VALUE other); /* cont.c */ |