summaryrefslogtreecommitdiff
path: root/bignum.c
AgeCommit message (Expand)Author
2013-11-24* bignum.c (bigxor_int): Apply BIGLO for long in a BDIGIT expression.akr
2013-11-24* include/ruby/defines.h: Don't use int128_t for Bignum.akr
2013-11-19bignum.c: suppress warningnobu
2013-09-07bignum.c, math.c: RB_BIGNUM_TYPE_Pnobu
2013-09-07bignum.c, math.c: type predicatesnobu
2013-09-07bignum.c: split rb_big_fdiv and big_fdivnobu
2013-09-04* bignum.c (GMP_DIV_DIGITS): New macro.akr
2013-09-04* bignum.c (bary_divmod_normal): Reduce temporary array allocations.akr
2013-09-04* bignum.c (rb_big_divrem_normal): Add GC guards.akr
2013-09-04* bignum.c (rb_big_divrem_normal): New function.akr
2013-09-04* bignum.c (bigdivrem_normal): Removed.akr
2013-09-04* bignum.c (bigdivrem): Useless declaration removed.akr
2013-09-04* bignum.c (bigdivrem_normal): Add assertions.akr
2013-09-03* bignum.c (GMP_STR2BIG_DIGITS): New macro.akr
2013-09-03* bignum.c (rb_str2big_poweroftwo): New function.akr
2013-09-03* bignum.c (str2big_scan_digits): Extracted from rb_cstr_to_inum.akr
2013-09-02* bignum.c (bytes_2comp): Define it only for little endianakr
2013-09-02* bignum.c (ISDIGIT): Unused macro removed.akr
2013-09-02* bignum.c (str2big_poweroftwo): Extracted from rb_cstr_to_inum.akr
2013-09-01* bignum.c (Init_Bignum): Define Bignum::GMP_VERSION when GMP is used.akr
2013-09-01* bignum.c (big2str_generic): Reduce arguments.akr
2013-09-01* bignum.c (GMP_BIG2STR_DIGITS): New constant.akr
2013-09-01* bignum.c (bary_mul_gmp): Use mpz_init and mpz_clear instead ofakr
2013-09-01* bignum.c (big2str_base_poweroftwo): Renamed fromakr
2013-09-01* bignum.c (big2str_2bdigits): Renamed from big2str_orig.akr
2013-09-01* bignum.c: Remove BITSPERDIG >= INT_MAX test. The static assertion,akr
2013-09-01* bignum.c (maxpow_in_bdigit): Removed.akr
2013-09-01* numeric.c (rb_fix_bit_length): Moved from bignum.c.akr
2013-09-01[DOC]akr
2013-09-01* internal.h (bit_length): Moved from bignum.c.akr
2013-08-31* bignum.c (bit_length): Renamed from bitsize.akr
2013-08-31* bignum.c (rb_big_bit_length): New method.akr
2013-08-31* bignum.c: Use GMP to accelerate big Bignum multiplication.akr
2013-08-24* bignum.c (BARY_SHORT_MUL): Renamed from BARY_MUL1.akr
2013-08-18* bignum.c (rb_big2str1): Make an expression more explicit.akr
2013-08-17* bignum.c (rb_big2str1): Use power_level instead of bitsize(xn).akr
2013-08-17* bignum.c (BIGDIVREM_EXTRA_WORDS): Redefine to 1.akr
2013-08-16* bignum.c (bigdivrem_single1): Renamed from bigdivrem_single. Addakr
2013-08-16* bignum.c (bary_small_rshift): Specify the higher BDIGIT instead ofakr
2013-08-15* bignum.c (bary_mul_toom3): Reduce a branch.akr
2013-08-15* bignum.c (bigdivrem_single): Use shift when y is a power of two.akr
2013-08-15* bignum.c (bigdivrem_restoring): Use bigdivrem_single if non-topmostakr
2013-08-15* bignum.c (rb_big2str1): Truncate topmost zeros of x.akr
2013-08-15* bignum.c (bary_divmod): Simplify an expression.akr
2013-08-15* bignum.c (bigdivrem_normal): Remove a local variable.akr
2013-08-15* bignum.c (big2str_karatsuba): Use bigdivrem_restoring directly toakr
2013-08-13* bignum.c (bigdivrem_restoring): xn argument removed.akr
2013-08-13* bignum.c (big_div_struct): Remove xn and j field. Add zn field. akr
2013-08-13* bignum.c (big_div_struct): ynzero field removed.akr
2013-08-13* bignum.c (bigdivrem_restoring): Extracted from bigdivrem_normal.akr