summaryrefslogtreecommitdiff
path: root/bignum.c
AgeCommit message (Expand)Author
2014-11-15* internal.h: Include ruby.h and ruby/encoding.h to beakr
2014-11-01* bignum.c (bary_mul_balance_with_mulfunc): Fix free work areaakr
2014-10-09* bignum.c (absint_numwords_generic): set an array element afterngoto
2014-07-28add some documents [ci skip]nobu
2014-04-19* internal.h (struct RBignum): Use size_t for len.akr
2014-04-18* numeric.c (rb_num2long): Returns a long.akr
2014-04-13* bignum.c (SIZEOF_BDIGIT): Renamed from SIZEOF_BDIGITS.akr
2014-03-14bignum.c: adjust condtionsnobu
2014-03-14[DOC] add links to `Object#hash`nobu
2014-02-27adjust indent and stylenobu
2014-02-21* bignum.c (bary_mul_precheck): fix a copy-paste error.mame
2014-02-15* internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.akr
2014-02-15* bignum.c (rb_big_cmp): Avoid bignum allocation for comparisonakr
2014-02-14* include/ruby/intern.h,akr
2014-02-11[DOC]akr
2014-02-11* bignum.c (rb_big_cmp): Specialize a comparison to zero.akr
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