diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-14 16:43:42 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-14 16:43:42 +0000 |
commit | 96827ee537354ca76588297cd4033642ded6251d (patch) | |
tree | 84dd17d7e4b3e7740f4e66bf14104eab2e7ecbf0 | |
parent | 0cd595cb47f2338faaa1a6939bb7d6048ed9e463 (diff) |
complex.c: improve docs for Complex#{finite?,infinite?}
* complex.c: [DOC] correct term "real value" to "real part", and same
for imaginary part, in documentation for Complex#{finite?,infinite?}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | complex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1255,7 +1255,7 @@ nucomp_inspect(VALUE self) * call-seq: * cmp.finite? -> true or false * - * Returns +true+ if +cmp+'s real and imaginary values are both finite numbers, + * Returns +true+ if +cmp+'s real and imaginary parts are both finite numbers, * otherwise returns +false+. */ static VALUE @@ -1273,7 +1273,7 @@ rb_complex_finite_p(VALUE self) * call-seq: * cmp.infinite? -> nil or 1 * - * Returns +1+ if +cmp+'s real or imaginary value is an infinite number, + * Returns +1+ if +cmp+'s real or imaginary part is an infinite number, * otherwise returns +nil+. * * For example: |