diff options
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -345,7 +345,7 @@ rb_big_abs_find_minbit(VALUE big) return Qnil; res = mul(LONG2NUM(i), INT2FIX(SIZEOF_BDIGITS * CHAR_BIT)); d = ds[i]; - res = add(res, LONG2FIX(bdigit_find_maxbit(d & (~d+1)))); + res = add(res, LONG2FIX(ffs(d)-1)); return res; } |