summaryrefslogtreecommitdiff
path: root/bignum.c
AgeCommit message (Expand)Author
2013-07-01* bignum.c (bary_mul2): New function.akr
2013-07-01* bignum.c (rb_cstr_to_inum): Skip leading zeros.akr
2013-06-30* bignum.c (nlz16): New function.akr
2013-06-30* bignum.c (rb_cstr_to_inum): Use rb_integer_unpack if base is a powerakr
2013-06-29* bignum.c (big_rshift): Use abs2twocomp and twocomp2abs_bang.akr
2013-06-29* bignum.c (RBIGNUM_SET_NEGATIVE_SIGN): New macro.akr
2013-06-29* bignum.c (bary_neg): Extracted from bary_2comp.akr
2013-06-29* bignum.c (bary_2comp): Simplified.akr
2013-06-29* bignum.c (bigor_int): Return -1 if y == -1.akr
2013-06-29* bignum.c (bigor_int): Use RB_GC_GUARD.akr
2013-06-28* bignum.c (bigand_int): Don't apply bitwise and for BDIGIT and long.akr
2013-06-28* bignum.c (rb_big_and): Allocate new bignum with same size to shorterakr
2013-06-27* bignum.c (bigand_int): Add arguments, xn and hibitsx.akr
2013-06-27* bignum.c (abs2twocomp_bang): Removed.akr
2013-06-27* bignum.c (get2comp): Use bary_2comp.akr
2013-06-26* bignum.c (rb_big_pow): Retry if y is a Bignum and it isakr
2013-06-26* bignum.c (LSHIFTABLE): extract from LSHIFTX().nobu
2013-06-26* bignum.c (bigxor_int): Fix a buffer over read.akr
2013-06-26* bignum.c (bigand_int): Consider negative values.akr
2013-06-25* bignum.c (bigand_int): Fix a buffer over read.akr
2013-06-25* bignum.c (bigadd_int): Fix a buffer over read.akr
2013-06-25* bignum.c (bigsub_int): Fix a buffer over read.akr
2013-06-25* bignum.c (rb_absint_singlebit_p): Use POW2_P.akr
2013-06-25* bignum.c (big2dbl): Use (BDIGIT)1 instead of 1UL.akr
2013-06-25* bignum.c (big2ulong): "check" argument removed.akr
2013-06-25* bignum.c (rb_big2ulong_pack): Use rb_integer_pack.akr
2013-06-25* bignum.c (LSHIFTX): Revert r41611.akr
2013-06-25* bignum.c (big2ulong): Add a cast.akr
2013-06-25* bignum.c (integer_unpack_single_bdigit): Use "1 + ~u" instead ofakr
2013-06-25* bignum.c (big2ulong): Add code specialized for SIZEOF_LONG <=akr
2013-06-25* bignum.c (MSB): Removed.akr
2013-06-25bignum.c: suppress warningnobu
2013-06-25bignum.c: redundant expressionnobu
2013-06-24* bignum.c (integer_unpack_single_bdigit): Refine code to fillingakr
2013-06-23* bignum.c (BIGUP): Use LSHIFTX and avoid cast to consider the typeakr
2013-06-23* bignum.c (integer_unpack_single_bdigit): Use a cast.akr
2013-06-22* bignum.c (integer_unpack_single_bdigit): Extracted fromakr
2013-06-22* bignum.c (bary_unpack_internal): Suppress warnings (C4146) on Visual Studio.akr
2013-06-22* bignum.c (bytes_zero_p): Removed.akr
2013-06-22* bignum.c (bytes_zero_p): Extracted from bary_pack.akr
2013-06-22* bignum.c (MSB): New macro.akr
2013-06-22Update comments.akr
2013-06-22Unused code removed.akr
2013-06-22* bignum.c (bary_swap): New function.akr
2013-06-22* bignum.c (bytes_2comp): Renamed from quad_buf_complement.akr
2013-06-22* bignum.c (rb_integer_unpack): Don't allocate a Bignum if possible.akr
2013-06-22* bignum.c (bary_unpack_internal): Specialized unpacker implemented.akr
2013-06-22* bignum.c (bary_pack): Supportakr
2013-06-22* bignum.c (bary_pack): MEMZERO can be used even if nails is not zero.akr
2013-06-22* bignum.c (CLEAR_LOWBITS): Rewritten without RSHIFTX.akr