aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
Commit message (Expand)AuthorAgeFilesLines
* [Doc] Add Document-method: directives.akr2016-04-271-0/+24
* Update rdoc of Integer#[] (fix -> int)kazu2016-04-271-2/+2
* [DOC] move rdoc comments.akr2016-04-271-137/+151
* {Fixnum,Bignum}#[] is unified into Integer.akr2016-04-271-15/+33
* [DOC] update Integer#<< doc.akr2016-04-261-2/+2
* {Fixnum,Bignum}#<< is unified into Integer.akr2016-04-261-8/+20
* {Fixnum,Bignum}#>> is unified into Integer.akr2016-04-261-8/+20
* {Fixnum,Bignum}#size is unified into Integer.akr2016-04-261-4/+19
* {Fixnum,Bignum}#bit_length is unified into Integer.akr2016-04-261-7/+32
* * numeric.c (int_abs): Integer#{abs,magnitude} moved from Fixnum and Bignum.akr2016-04-261-13/+24
* numeric.c: numeric ndigitsnobu2016-04-181-12/+12
* numeric.c: flo_truncatenobu2016-04-181-10/+27
* numeric.c: int_truncatenobu2016-04-181-2/+63
* numeric.c: update doc [ci skip]nobu2016-04-181-1/+1
* numeric.c: flo_ceilnobu2016-04-131-7/+39
* numeric.c: flo_floornobu2016-04-131-6/+40
* numeric.c: int_ceilnobu2016-04-131-1/+57
* numeric.c: int_floornobu2016-04-131-1/+55
* numeric.c: int_round_zero_pnobu2016-04-131-5/+21
* numeric.c: float_invariant_roundnobu2016-04-131-6/+16
* numeric.c: dbl2ival no longer roundsnobu2016-04-031-10/+5
* numeric.c: move declaration [ci skip]nobu2016-04-021-5/+3
* numeric.c: prefer rb_check_aritynobu2016-04-021-14/+8
* * 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