diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-23 14:28:55 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-23 14:28:55 +0000 |
commit | 4ffe7a1734ad9eea45c230931fc1f2a3880d7b36 (patch) | |
tree | 040e3bc86b8cc877672e90e758a65469b0b61153 /complex.c | |
parent | 16cb5ce483b87646258e0c10fbda4520a0faf343 (diff) |
modified some descriptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r-- | complex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1077,7 +1077,7 @@ extern VALUE rb_lcm(VALUE x, VALUE y); * call-seq: * cmp.denominator -> integer * - * Returns the denominator (lcm of both denominator, real and imag). + * Returns the denominator (lcm of both denominator - real and imag). * * See numerator. */ @@ -1646,7 +1646,7 @@ nucomp_s_convert(int argc, VALUE *argv, VALUE klass) if (argc == 1) { if (k_numeric_p(a1) && !f_real_p(a1)) return a1; - /* expect raise exception for consistency */ + /* should raise exception for consistency */ if (!k_numeric_p(a1)) return rb_convert_type(a1, T_COMPLEX, "Complex", "to_c"); } |