aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
Commit message (Expand)AuthorAgeFilesLines
* * numeric.c (int_pos_p): fix typos.kazu2016-03-281-2/+2
* numeric.c: rb_int2strnobu2016-03-261-0/+5
* numeric.c: rb_int_roundnobu2016-03-261-11/+37
* numeric.c: basic arithmeticnobu2016-03-261-0/+73
* numeric.c: Fixnum predictsnobu2016-03-261-2/+6
* * internal.h (rb_fix_divmod_fix): like r54213, use FIX2NUM only ifnaruse2016-03-211-5/+5
* * internal.h (DLONG): defined if long is 32bit (and LONG_LONG is 64bit;naruse2016-03-201-26/+1
* numeric.c: optimize Fixnum<->Bignum comparisonsnobu2016-03-201-4/+4
* fix r54193nobu2016-03-191-1/+6
* * numeric.c (fix_cmp): use rb_big_cmp if x is Fixnum and y is Bignum.naruse2016-03-191-1/+1
* * numeric.c (int_to_f): raise NotImplementedError when a receivermrkn2016-03-191-1/+1
* * bignum.c (Bignum#<=>): remove it because they are unified withmrkn2016-03-191-13/+28
* * bignum.c (rb_big_to_f, Bignum#to_f): removed them because they aremrkn2016-03-181-1/+5
* * numeric.c (int_to_f, fix_to_f): rename fix_to_f to int_to_f, and addmrkn2016-03-181-5/+10
* * bignum.c (Bignum#eql?): remove its definition because it is unifiedmrkn2016-03-181-1/+7
* * bignum.c (rb_big_to_s, Bignum#to_s): remove its definition becausemrkn2016-03-181-1/+9
* * numeric.c (int_to_s): Move from flo_to_s.mrkn2016-03-181-6/+5
* * numeric.c (fix_zero_p, fix_even_p, fix_odd_p): remove needlessmrkn2016-03-171-49/+0
* * numeric.c (int_even_p): treat Fixnum and Bignum values directly.mrkn2016-03-171-1/+9
* * bignum.c (Bignum#even?, Bignum#odd?): remove definitionsmrkn2016-03-171-5/+18
* * numeric.c (num_step): use rb_equal for zero check. rb_num_coerce_cmpmame2016-03-171-1/+1
* * enum.c (enum_inject): Implement the specialized code for sum ofakr2016-03-171-0/+6
* * numeric.c (fix2str): improve r54092 like rb_int2big().naruse2016-03-141-11/+7
* numeric.c: fix edge casenobu2016-03-131-1/+9
* * intern.h (rb_divmod): assume compilers `/` and `%` comply C99naruse2016-03-081-39/+7
* numeric.c: wrong type step should raise TypeErrornobu2016-02-261-1/+29
* numeric.c: micro optimizationsnobu2016-02-241-5/+7
* numeric.c: adjust typesnobu2016-02-171-2/+2
* numeric.c: adjust typesnobu2016-02-171-4/+6
* numeric.c: fix segfaultnobu2016-02-161-1/+1
* * enum.c: fix a typo in documentation.hsbt2015-12-141-1/+1
* * numeric.c: Good-by Borland-C.kosaki2015-10-181-4/+0
* numeric.c: use predefined IDsnobu2015-10-121-20/+21
* numeric.c: common expressionsnobu2015-10-121-9/+10
* * vm_eval.c, internal.h (rb_yield_1): added for performance whichko12015-10-101-1/+1
* * remove trailing spaces.svn2015-10-051-17/+17
* * numeric.c: [DOC] Overview for Numeric class by Joe Corcoranzzak2015-10-051-1/+69
* preserve encodings in error messagesnobu2015-09-281-1/+2
* * numeric.c (Init_Numeric): Fix document for Float::MIN andakr2015-08-111-2/+7
* fix doc for Numeric#coerce [ci skip]nobu2015-07-221-1/+1
* * numeric.c (Numeric#negative?): [DOC] Fix call-seq.eregon2015-05-241-1/+1
* numeric.c: return truenobu2015-05-191-3/+3
* numeric.c: Bignum 0 is not positivenobu2015-05-191-1/+1
* numeric.c: Numeric#positive? and Numeric#negative?nobu2015-05-171-0/+68
* numeric.c: compare_with_zeronobu2015-05-171-2/+13
* hash.c: same hash values with Float#hashnobu2015-03-181-2/+6
* numeric.c: calculate complex numbersnobu2015-02-241-0/+8
* use rb_funcallvnobu2015-02-161-2/+2
* numeric.c: fix messagenobu2015-01-131-2/+7
* numeric.c: correct error message when coerce failsnormal2015-01-121-1/+2