trivial changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
11ab22bba6
commit
426afe1e67
17
numeric.c
17
numeric.c
@ -935,11 +935,11 @@ rb_dbl_cmp(double a, double b)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* 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,
|
* Returns -1, 0, +1 or nil depending on whether <i>flt</i> is less
|
||||||
* equal to, or greater than <i>real</i>. This is the basis for the
|
* than, equal to, or greater than <i>real</i>. This is the basis for
|
||||||
* tests in <code>Comparable</code>.
|
* the tests in <code>Comparable</code>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
@ -2534,11 +2534,12 @@ fix_equal(VALUE x, VALUE y)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* 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
|
* Comparison---Returns -1, 0, +1 or nil depending on whether
|
||||||
* less than, equal to, or greater than <i>numeric</i>. This is the
|
* <i>fix</i> is less than, equal to, or greater than
|
||||||
* basis for the tests in <code>Comparable</code>.
|
* <i>numeric</i>. This is the basis for the tests in
|
||||||
|
* <code>Comparable</code>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user