[ruby-cvs:72834] shyouhei:r65734 (trunk): bignum.c: ee should be signed

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Thu Nov 15 14:10:40 JST 2018

shyouhei	2018-11-15 14:10:40 +0900 (Thu, 15 Nov 2018)

  New Revision: 65734


    bignum.c: ee should be signed
    In C, signed + unsigned of the same size results in unsigned (cf:
    ISO/IEC 9899:1990 section However `num` is signed here.
    Which means the addition must be done in signed.

  Modified files:

More information about the ruby-cvs mailing list