mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +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
2
intern.h
2
intern.h
|
@ -98,6 +98,8 @@ double rb_big2dbl _((VALUE));
|
|||
VALUE rb_big_plus _((VALUE, VALUE));
|
||||
VALUE rb_big_minus _((VALUE, VALUE));
|
||||
VALUE rb_big_mul _((VALUE, VALUE));
|
||||
VALUE rb_big_div _((VALUE, VALUE));
|
||||
VALUE rb_big_modulo _((VALUE, VALUE));
|
||||
VALUE rb_big_divmod _((VALUE, VALUE));
|
||||
VALUE rb_big_pow _((VALUE, VALUE));
|
||||
VALUE rb_big_and _((VALUE, VALUE));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue