ruby-changes:30418
From: akr <ko1@a...>
Date: Sun, 11 Aug 2013 03:26:35 +0900 (JST)
Subject: [ruby-changes:30418] akr:r42497 (trunk): * bignum.c (bitsize): Fix a conditional expression.
akr 2013-08-11 03:26:28 +0900 (Sun, 11 Aug 2013) New Revision: 42497 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42497 Log: * bignum.c (bitsize): Fix a conditional expression. Modified files: trunk/ChangeLog trunk/bignum.c Index: ChangeLog =================================================================== --- ChangeLog (revision 42496) +++ ChangeLog (revision 42497) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Aug 11 03:26:07 2013 Tanaka Akira <akr@f...> + + * bignum.c (bitsize): Fix a conditional expression. + Sun Aug 11 02:44:03 2013 Zachary Scott <e@z...> * lib/time.rb: [DOC] Document constants by @markijbema [Fixes GH-377] Index: bignum.c =================================================================== --- bignum.c (revision 42496) +++ bignum.c (revision 42497) @@ -281,7 +281,7 @@ static int nlz(BDIGIT x) { return nlz_in https://github.com/ruby/ruby/blob/trunk/bignum.c#L281 #else # define bitsize(x) \ (sizeof(x) <= SIZEOF_INT ? SIZEOF_INT * CHAR_BIT - nlz_int(x) : \ - sizeof(x) <= SIZEOF_LONG ? SIZEOF_LONG * CHAR_BIT - nlz_long(x)) + SIZEOF_LONG * CHAR_BIT - nlz_long(x)) #endif #define U16(a) ((uint16_t)(a)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/