aboutsummaryrefslogtreecommitdiffstats
path: root/bignum.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-30 13:05:22 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-30 13:05:22 +0000
commit9689b1cd75b453b7342a2160e364f667cb41158a (patch)
tree4953046be16d307e110e4b916811463b0c854aa1 /bignum.c
parentb841f31caae57f90c92b7543cf64d38a4881cce1 (diff)
downloadruby-9689b1cd75b453b7342a2160e364f667cb41158a.tar.gz
[DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/bignum.c b/bignum.c
index 3c6a85a984..bb518d1a44 100644
--- a/bignum.c
+++ b/bignum.c
@@ -5350,18 +5350,6 @@ rb_integer_float_eq(VALUE x, VALUE y)
return rb_big_eq(x, y);
}
-/*
- * call-seq:
- * big <=> numeric -> -1, 0, +1 or nil
- *
- * Comparison---Returns -1, 0, or +1 depending on whether +big+ is
- * less than, equal to, or greater than +numeric+. This is the
- * basis for the tests in Comparable.
- *
- * +nil+ is returned if the two values are incomparable.
- *
- */
-
VALUE
rb_big_cmp(VALUE x, VALUE y)
{
@@ -6756,13 +6744,6 @@ rb_big_bit_length(VALUE big)
INTEGER_PACK_LSWORD_FIRST|INTEGER_PACK_NATIVE_BYTE_ORDER);
}
-/*
- * call-seq:
- * big.odd? -> true or false
- *
- * Returns <code>true</code> if <i>big</i> is an odd number.
- */
-
VALUE
rb_big_odd_p(VALUE num)
{
@@ -6772,13 +6753,6 @@ rb_big_odd_p(VALUE num)
return Qfalse;
}
-/*
- * call-seq:
- * big.even? -> true or false
- *
- * Returns <code>true</code> if <i>big</i> is an even number.
- */
-
VALUE
rb_big_even_p(VALUE num)
{