[ruby-cvs:71996] nobu:r64904 (trunk): Fix wrong use of BIGNUM_EMBED_LEN_NUMBITS

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Oct 3 13:37:44 JST 2018


nobu	2018-10-03 13:37:43 +0900 (Wed, 03 Oct 2018)

  New Revision: 64904

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64904

  Log:
    Fix wrong use of BIGNUM_EMBED_LEN_NUMBITS
    
    * internal.h (BIGNUM_EMBED_LEN_SHIFT): BIGNUM_EMBED_LEN_NUMBITS is the
      bit width of embedded bignum length, and BIGNUM_EMBED_LEN_SHIFT is
      the bit offset of it.  These two values happened to equal by chance,
      however they are different things.

  Modified files:
    trunk/internal.h


More information about the ruby-cvs mailing list