Project

General

Profile

Feature #8553 ยป bignum-size-abs-bytewise.patch

akr (Akira Tanaka), 06/24/2013 01:28 PM

View differences:

bignum.c (working copy)
static VALUE
rb_big_size(VALUE big)
{
return LONG2FIX(RBIGNUM_LEN(big)*SIZEOF_BDIGITS);
return SIZET2NUM(BIGSIZE(big));
}
/*
    (1-1/1)