math.c: fix for Bignum argument

* math.c (math_log, math_log2, math_log10): fix for Bignum argument.
  numbits should be add only when right shifted.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c (vm_callee_setup_arg_complex, vm_yield_setup_block_args):
  clear keyword arguments to prevent GC bug which occurs
  while marking VM stack.
  [ruby-dev:47729] [Bug #8964]

* test/ruby/test_keyword.rb: tests for the above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2013-09-29

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
parse.y: fix inconsistency with literals

* parse.y (rb_id_attrset): fix inconsistency with literals, allow
  ID_ATTRSET and return it itself, but ID_JUNK cannot make ID_ATTRSET.
  and raise a NameError instead of rb_bug() for invalid argument.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ChangeLog: remove duplicated entry

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
parse.y: allow junk attrset

* parse.y (rb_id_attrset, intern_str): allow junk attrset ID for
  Struct.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
array.c: minor performance improvement

* array.c (sort_2): minor performance improvement by replacing
  rb_funcall() with rb_funcallv.

* array.c (rb_ary_bsearch, recursive_cmp, rb_ary_cycle_size): ditto.

* array.c (descending_factorial, binomial_coefficient): ditto.

* array.c (rb_ary_repeated_permutation_size): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
fix typos

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2013-09-30

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
fix a typo

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
add rb_funcall_ci
use rb_funcall_ci in Array#sort
constify argv argument to rb_funcall_ci
don't use a static variable for sort call_info (patch by @nobu)
use ci->call instead of vm_call0_body