mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* 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:
parent
ce8d9b4a0d
commit
c32b77cee1
4 changed files with 91 additions and 16 deletions
4
bignum.c
4
bignum.c
|
@ -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;
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue