Project

General

Profile

« Previous | Next » 

Revision 5cf605b1

Added by U.Nakamura over 14 years ago

  • bignum.c (rb_big2long, rb_big2ulong): rb2ulong() returns VALUE, but
    its real range is ulong. So, if the size of VALUE is bigger than
    ulong, upper bits are always zero even if the actual value is
    negative.
    fixed #3490

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