summaryrefslogtreecommitdiff
path: root/bignum.c
AgeCommit message (Expand)Author
2013-07-08* bignum.c (biglsh_bang): Don't shift a BDIGIT with BITSPERDIG bits.akr
2013-07-08* bignum.c (bigrsh_bang): Fix bignum digits overrun.akr
2013-07-08* bignum.c (biglsh_bang): Fix bignum digits under-run.akr
2013-07-08* bignum.c (bary_mul): Arguments for work memory added.akr
2013-07-08* bignum.c (rb_big_sq_fast): New function for testing.akr
2013-07-08* bignum.c (bary_mul_balance): Initialize a local variable to suppressakr
2013-07-08* bignum.c (bary_mul_balance): Reduce work memory.akr
2013-07-07* bignum.c (bary_mul): Add a RB_GC_GUARD.akr
2013-07-07* bignum.c (bary_mul_karatsuba): Unreachable code removed. Removeakr
2013-07-07* internal.h (rb_big_mul_normal): Declared.akr
2013-07-07Useless comment removed.akr
2013-07-07* bignum.c: Reorder functions to decrease forward reference.akr
2013-07-07* bignum.c: (bigsub_core): Use bary_sub.akr
2013-07-07* bignum.c (bary_sq_fast): Extracted from bigsqr_fast andakr
2013-07-04* bignum.c (BARY_MUL1): Renamed from BARY_MUL.akr
2013-07-04* bignum.c (bary_mul_balance): Extracted from bigmul1_balance andakr
2013-07-04bignum.c: constifynobu
2013-07-04* bignum.c (maxpow_in_bdigit_dbl): Use tables if available.akr
2013-07-04* bignum.c (rb_cstr_to_inum): Avoid temporary buffer allocation exceptakr
2013-07-03* internal.h (ruby_digit36_to_number_table): Declared.akr
2013-07-03* bignum.c (maxpow_in_bdigit): Renamed from calc_hbase and returnakr
2013-07-02* bignum.c (roomof): Cast to long.akr
2013-07-02* bignum.c (rb_cstr_to_inum): fix 64 bit to 32 bit shorten warningcharliesome
2013-07-02* bignum.c (rb_cstr_to_inum): Merge two temporary buffers.akr
2013-07-02* bignum.c (rb_cstr_to_inum): Use BDIGIT_DBL to collect adjacent digits.akr
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