aboutsummaryrefslogtreecommitdiffstats
path: root/bignum.c
Commit message (Expand)AuthorAgeFilesLines
* * bignum.c (bary_mul): Arguments for work memory added.akr2013-07-081-23/+27
* * bignum.c (rb_big_sq_fast): New function for testing.akr2013-07-081-3/+22
* * bignum.c (bary_mul_balance): Initialize a local variable to suppressakr2013-07-081-1/+1
* * bignum.c (bary_mul_balance): Reduce work memory.akr2013-07-081-10/+28
* * bignum.c (bary_mul): Add a RB_GC_GUARD.akr2013-07-071-0/+1
* * bignum.c (bary_mul_karatsuba): Unreachable code removed. Removeakr2013-07-071-14/+6
* * internal.h (rb_big_mul_normal): Declared.akr2013-07-071-0/+37
* Useless comment removed.akr2013-07-071-5/+0
* * bignum.c: Reorder functions to decrease forward reference.akr2013-07-071-1202/+1199
* * bignum.c: (bigsub_core): Use bary_sub.akr2013-07-071-245/+368
* * bignum.c (bary_sq_fast): Extracted from bigsqr_fast andakr2013-07-071-11/+23
* * bignum.c (BARY_MUL1): Renamed from BARY_MUL.akr2013-07-041-9/+9
* * bignum.c (bary_mul_balance): Extracted from bigmul1_balance andakr2013-07-041-20/+38
* bignum.c: constifynobu2013-07-041-10/+10
* * bignum.c (maxpow_in_bdigit_dbl): Use tables if available.akr2013-07-041-10/+219
* * bignum.c (rb_cstr_to_inum): Avoid temporary buffer allocation exceptakr2013-07-041-56/+75
* * internal.h (ruby_digit36_to_number_table): Declared.akr2013-07-031-6/+1
* * bignum.c (maxpow_in_bdigit): Renamed from calc_hbase and returnakr2013-07-031-19/+19
* * bignum.c (roomof): Cast to long.akr2013-07-021-2/+2
* * bignum.c (rb_cstr_to_inum): fix 64 bit to 32 bit shorten warningcharliesome2013-07-021-4/+4
* * bignum.c (rb_cstr_to_inum): Merge two temporary buffers.akr2013-07-021-7/+5
* * bignum.c (rb_cstr_to_inum): Use BDIGIT_DBL to collect adjacent digits.akr2013-07-021-15/+36
* * bignum.c (bary_mul2): New function.akr2013-07-011-20/+111
* * bignum.c (rb_cstr_to_inum): Skip leading zeros.akr2013-07-011-0/+3
* * bignum.c (nlz16): New function.akr2013-06-301-23/+86
* * bignum.c (rb_cstr_to_inum): Use rb_integer_unpack if base is a powerakr2013-06-301-51/+64
* * bignum.c (big_rshift): Use abs2twocomp and twocomp2abs_bang.akr2013-06-291-17/+12
* * bignum.c (RBIGNUM_SET_NEGATIVE_SIGN): New macro.akr2013-06-291-9/+20
* * bignum.c (bary_neg): Extracted from bary_2comp.akr2013-06-291-13/+27
* * bignum.c (bary_2comp): Simplified.akr2013-06-291-8/+7
* * bignum.c (bigor_int): Return -1 if y == -1.akr2013-06-291-1/+1
* * bignum.c (bigor_int): Use RB_GC_GUARD.akr2013-06-291-46/+40
* * bignum.c (bigand_int): Don't apply bitwise and for BDIGIT and long.akr2013-06-281-45/+46
* * bignum.c (rb_big_and): Allocate new bignum with same size to shorterakr2013-06-281-0/+3
* * bignum.c (bigand_int): Add arguments, xn and hibitsx.akr2013-06-271-14/+16
* * bignum.c (abs2twocomp_bang): Removed.akr2013-06-271-29/+18
* * bignum.c (get2comp): Use bary_2comp.akr2013-06-271-41/+69
* * bignum.c (rb_big_pow): Retry if y is a Bignum and it isakr2013-06-261-4/+9
* * bignum.c (LSHIFTABLE): extract from LSHIFTX().nobu2013-06-261-1/+2
* * bignum.c (bigxor_int): Fix a buffer over read.akr2013-06-261-10/+17
* * bignum.c (bigand_int): Consider negative values.akr2013-06-261-12/+52
* * bignum.c (bigand_int): Fix a buffer over read.akr2013-06-251-7/+4
* * bignum.c (bigadd_int): Fix a buffer over read.akr2013-06-251-16/+46
* * bignum.c (bigsub_int): Fix a buffer over read.akr2013-06-251-8/+53
* * bignum.c (rb_absint_singlebit_p): Use POW2_P.akr2013-06-251-6/+4
* * bignum.c (big2dbl): Use (BDIGIT)1 instead of 1UL.akr2013-06-251-2/+2
* * bignum.c (big2ulong): "check" argument removed.akr2013-06-251-10/+7
* * bignum.c (rb_big2ulong_pack): Use rb_integer_pack.akr2013-06-251-5/+4
* * bignum.c (LSHIFTX): Revert r41611.akr2013-06-251-1/+2
* * bignum.c (big2ulong): Add a cast.akr2013-06-251-4/+9