summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-30 08:27:30 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-30 08:27:30 (GMT)
commit635cff451ff4405ee8ad5c97d9b5b6a04435e0da (patch)
tree426d5a90062c874ee8b90bbf4832e42ffa41c6db /internal.h
parentae225a2ca84ea84da0c7c15ad07b9e89fbbb9392 (diff)
Define Integer#remainder instead of Bignum#remainder.
* numeric.c (int_remainder): Define Integer#remainder. * bignum.c (rb_big_remainder): Don't define Bignum#remainder. * internal.h (rb_big_remainder): Declared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 584742e..08379cb 100644
--- a/internal.h
+++ b/internal.h
@@ -786,6 +786,7 @@ VALUE rb_big_aref(VALUE x, VALUE y);
VALUE rb_big_abs(VALUE x);
VALUE rb_big_size_m(VALUE big);
VALUE rb_big_bit_length(VALUE big);
+VALUE rb_big_remainder(VALUE x, VALUE y);
/* class.c */
VALUE rb_class_boot(VALUE);