* numeric.c (fix_minus, fix_mul, fix_quo, fix_div, fix_mod,

fix_divmod, fix_pow): ditto.

* numeric.c (fix_plus): reduce coercing when a method knows about
  a operand type.  [ruby-dev:26723]

* bignum.c (rb_big_div, rb_big_modulo): export to reduce
  coercing.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2005-08-03 07:09:48 +00:00
parent ce8d9b4a0d
commit c32b77cee1
4 changed files with 91 additions and 16 deletions

View file

@ -1424,7 +1424,7 @@ bigdivmod(x, y, divp, modp)
* Divides big by other, returning the result.
*/
static VALUE
VALUE
rb_big_div(x, y)
VALUE x, y;
{
@ -1458,7 +1458,7 @@ rb_big_div(x, y)
* information.
*/
static VALUE
VALUE
rb_big_modulo(x, y)
VALUE x, y;
{