mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
numeric.c: rb_int_powm rdoc
* numeric.c (Init_Numeric): let rdoc know that rb_int_powm is defined in bignum.c. [Feature #12508] [Feature #11003] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
86f05884a5
commit
956cfb974f
1 changed files with 1 additions and 1 deletions
|
@ -5382,7 +5382,7 @@ Init_Numeric(void)
|
|||
rb_define_method(rb_cInteger, "fdiv", rb_int_fdiv, 1);
|
||||
rb_define_method(rb_cInteger, "**", rb_int_pow, 1);
|
||||
|
||||
rb_define_method(rb_cInteger, "pow", rb_int_powm, -1);
|
||||
rb_define_method(rb_cInteger, "pow", rb_int_powm, -1); /* in bignum.c */
|
||||
|
||||
rb_define_method(rb_cInteger, "abs", rb_int_abs, 0);
|
||||
rb_define_method(rb_cInteger, "magnitude", rb_int_abs, 0);
|
||||
|
|
Loading…
Reference in a new issue