From 05b0450ad2e87c4538844e3b4e30611202686d6f Mon Sep 17 00:00:00 2001 From: tadf Date: Sun, 28 Jun 2009 00:22:41 +0000 Subject: trivial changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index ff63dccb2..4c9bcd966 100644 --- a/numeric.c +++ b/numeric.c @@ -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 flt is less than, - * equal to, or greater than real. This is the basis for the - * tests in Comparable. + * Returns -1, 0, +1 or nil depending on whether flt is less + * than, equal to, or greater than real. This is the basis for + * the tests in Comparable. */ 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 fix is - * less than, equal to, or greater than numeric. This is the - * basis for the tests in Comparable. + * Comparison---Returns -1, 0, +1 or nil depending on whether + * fix is less than, equal to, or greater than + * numeric. This is the basis for the tests in + * Comparable. */ static VALUE -- cgit