diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-28 00:22:41 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-28 00:22:41 +0000 |
commit | 426afe1e67b2cba59cdc15f3c0b23b1bfbd9392a (patch) | |
tree | 4ac57cc8990edaa264c08597ba149b78f156f917 /numeric.c | |
parent | 11ab22bba68607e0dcd1f2b0fd8f0d412453555a (diff) |
trivial changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -935,11 +935,11 @@ rb_dbl_cmp(double a, double b) /* * call-seq: - * flt <=> real -> -1, 0, +1 + * flt <=> real -> -1, 0, +1 or nil * - * Returns -1, 0, or +1 depending on whether <i>flt</i> is less than, - * equal to, or greater than <i>real</i>. This is the basis for the - * tests in <code>Comparable</code>. + * Returns -1, 0, +1 or nil depending on whether <i>flt</i> is less + * than, equal to, or greater than <i>real</i>. This is the basis for + * the tests in <code>Comparable</code>. */ static VALUE @@ -2534,11 +2534,12 @@ fix_equal(VALUE x, VALUE y) /* * call-seq: - * fix <=> numeric -> -1, 0, +1 + * fix <=> numeric -> -1, 0, +1 or nil * - * Comparison---Returns -1, 0, or +1 depending on whether <i>fix</i> is - * less than, equal to, or greater than <i>numeric</i>. This is the - * basis for the tests in <code>Comparable</code>. + * Comparison---Returns -1, 0, +1 or nil depending on whether + * <i>fix</i> is less than, equal to, or greater than + * <i>numeric</i>. This is the basis for the tests in + * <code>Comparable</code>. */ static VALUE |