aboutsummaryrefslogtreecommitdiffstats
path: root/bignum.c
Commit message (Expand)AuthorAgeFilesLines
* * 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
* * bignum.c (integer_unpack_single_bdigit): Use "1 + ~u" instead ofakr2013-06-251-1/+1
* * bignum.c (big2ulong): Add code specialized for SIZEOF_LONG <=akr2013-06-251-1/+8
* * bignum.c (MSB): Removed.akr2013-06-251-20/+19
* bignum.c: suppress warningnobu2013-06-251-2/+2
* bignum.c: redundant expressionnobu2013-06-251-1/+1
* * bignum.c (integer_unpack_single_bdigit): Refine code to fillingakr2013-06-241-2/+4
* * bignum.c (BIGUP): Use LSHIFTX and avoid cast to consider the typeakr2013-06-231-7/+7
* * bignum.c (integer_unpack_single_bdigit): Use a cast.akr2013-06-231-1/+1
* * bignum.c (integer_unpack_single_bdigit): Extracted fromakr2013-06-221-44/+21
* * bignum.c (bary_unpack_internal): Suppress warnings (C4146) on Visual Studio.akr2013-06-221-4/+4
* * bignum.c (bytes_zero_p): Removed.akr2013-06-221-25/+15