summaryrefslogtreecommitdiff
path: root/bignum.c
Commit message (Expand)AuthorAgeFilesLines
* bignum.c: micro optimizationnobu2016-03-201-2/+5
* * bignum.c (rb_big_cmp): reduce the code.naruse2016-03-191-20/+8
* * bignum.c (Bignum#<=>): remove it because they are unified withmrkn2016-03-191-1/+0
* * bignum.c (rb_big_to_f, Bignum#to_f): removed them because they aremrkn2016-03-181-16/+0
* * bignum.c (Bignum#eql?): remove its definition because it is unifiedmrkn2016-03-181-12/+0
* * bignum.c (rb_big_to_s, Bignum#to_s): remove its definition becausemrkn2016-03-181-31/+0
* * bignum.c (rb_big_hash): make it public function to be available inmrkn2016-03-181-11/+1
* * bignum.c (Bignum#even?, Bignum#odd?): remove definitionsmrkn2016-03-171-2/+0
* * bignum.c (rb_big_even_p, rb_big_odd_p): make them public functionsmrkn2016-03-171-2/+2
* * bignum.c (big2str_2bdigits): reduce div instruction.naruse2016-03-141-2/+4
* bignum.c: micro optimizationnobu2016-02-151-3/+3
* use particlar macrosnobu2016-02-151-9/+9
* * insns.def (opt_mult): Use int128_t for overflow detection.naruse2016-02-051-0/+40
* RUBY_ASSERTnobu2016-01-221-1/+1
* make local symbols staticnobu2015-12-081-1/+1
* preserve encodings in error messagesnobu2015-09-281-2/+2
* internal.h: roomofnobu2015-06-211-1/+0
* bignum.c: doc of rb_cstr_to_inumnobu2015-06-171-0/+16
* * doc/contributors.rdoc: fix a typo. Patch by @davydovantonhsbt2015-04-151-1/+1
* * internal.h: Include ruby.h and ruby/encoding.h to beakr2014-11-151-2/+1
* * bignum.c (bary_mul_balance_with_mulfunc): Fix free work areaakr2014-11-011-1/+1
* * bignum.c (absint_numwords_generic): set an array element afterngoto2014-10-091-1/+3
* add some documents [ci skip]nobu2014-07-281-0/+1
* * internal.h (struct RBignum): Use size_t for len.akr2014-04-191-17/+22
* * numeric.c (rb_num2long): Returns a long.akr2014-04-181-2/+2
* * bignum.c (SIZEOF_BDIGIT): Renamed from SIZEOF_BDIGITS.akr2014-04-131-77/+77
* bignum.c: adjust condtionsnobu2014-03-141-7/+4
* [DOC] add links to `Object#hash`nobu2014-03-141-0/+2
* adjust indent and stylenobu2014-02-271-1/+3
* * bignum.c (bary_mul_precheck): fix a copy-paste error.mame2014-02-211-1/+1
* * internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.akr2014-02-151-164/+164
* * bignum.c (rb_big_cmp): Avoid bignum allocation for comparisonakr2014-02-151-7/+11
* * include/ruby/intern.h,akr2014-02-141-118/+0
* [DOC]akr2014-02-111-0/+7
* * bignum.c (rb_big_cmp): Specialize a comparison to zero.akr2014-02-111-1/+6
* * bignum.c (bigxor_int): Apply BIGLO for long in a BDIGIT expression.akr2013-11-241-3/+3
* * include/ruby/defines.h: Don't use int128_t for Bignum.akr2013-11-241-3/+1
* bignum.c: suppress warningnobu2013-11-191-1/+5
* bignum.c, math.c: RB_BIGNUM_TYPE_Pnobu2013-09-071-22/+24
* bignum.c, math.c: type predicatesnobu2013-09-071-133/+91
* bignum.c: split rb_big_fdiv and big_fdivnobu2013-09-071-23/+25
* * bignum.c (GMP_DIV_DIGITS): New macro.akr2013-09-041-3/+98
* * bignum.c (bary_divmod_normal): Reduce temporary array allocations.akr2013-09-041-15/+14
* * bignum.c (rb_big_divrem_normal): Add GC guards.akr2013-09-041-0/+3
* * bignum.c (rb_big_divrem_normal): New function.akr2013-09-041-0/+32
* * bignum.c (bigdivrem_normal): Removed.akr2013-09-041-76/+81
* * bignum.c (bigdivrem): Useless declaration removed.akr2013-09-041-3/+0
* * bignum.c (bigdivrem_normal): Add assertions.akr2013-09-041-0/+3
* * bignum.c (GMP_STR2BIG_DIGITS): New macro.akr2013-09-031-0/+92
* * bignum.c (rb_str2big_poweroftwo): New function.akr2013-09-031-0/+111