aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
Commit message (Expand)AuthorAgeFilesLines
* * numeric.c (fix_pow): Handle special cases when base is 0, -1 or +1marcandre2013-02-051-12/+10
* * numeric.c: Fix rdoc for Fixnum#**marcandre2013-02-051-1/+1
* * numeric.c: Document Float constants [ruby-core:51484] [Bug #7709]zzak2013-02-031-0/+75
* * numeric.c (do_coerce): fix for the exceptions which the coercemrkn2013-01-121-8/+26
* * numeric.c (do_coerce): fix comment and adjust indenteregon2013-01-101-2/+2
* * numeric.c (do_coerce): remove an unused variable.shugo2013-01-101-3/+0
* * numeric.c (do_coerce): speed optimization by using rb_check_funcallmrkn2013-01-101-20/+13
* use RB_TYPE_Pnobu2012-12-291-1/+1
* * include/ruby/intern.h: add the prototype declaration ofmrkn2012-12-221-20/+46
* * array.c, enum.c, insns.def, io.c, numeric.c, parse.y, process.c,ko12012-12-021-1/+2
* adjust style.nobu2012-12-011-1/+1
* * numeric.c: Add description of that the results of the comparingmrkn2012-11-081-0/+14
* * numeric.c (ruby_float_step): fix r37514: it yielded with NaNnaruse2012-11-071-4/+10
* adjust stylenobu2012-11-061-5/+10
* * numeric.c (int_dotimes): Support for Integer#times.sizemarcandre2012-11-061-1/+13
* * numeric.c (int_upto, int_downto): Support for Integer#{down|up}to.sizemarcandre2012-11-061-2/+12
* * numeric.c (num_step): Support for Numeric#step.sizemarcandre2012-11-061-2/+40
* * numeric.c: Extract ruby_float_step_sizemarcandre2012-11-061-24/+28
* * numeric.c (rb_float_new_in_heap), include/ruby/ruby.h:ko12012-10-271-0/+1
* * include/ruby/ruby.h: add C APIs.nari2012-10-201-2/+1
* * include/ruby/ruby.h: introduce flonum technique forko12012-08-231-1/+1
* Kernel#inspect: improve consistency and do not call #to_s.eregon2012-08-151-0/+2
* Revert r36699 and r36700. [Feature #6130]naruse2012-08-151-2/+0
* Kernel#inspect: improve consistency and do not call #to_s.eregon2012-08-141-0/+2
* * numeric.c (flo_to_s): use the exponential form if the integer partakr2012-07-161-1/+1
* * bignum.c (rb_integer_float_eq): new function.akr2012-07-161-2/+2
* * bignum.c (rb_integer_float_cmp): renamed from rb_big_float_cmp.akr2012-07-161-12/+12
* * bignum.c (rb_big_float_cmp): support fixnum for argument x.akr2012-07-161-25/+13
* * internal.h (rb_big_float_cmp): declared.akr2012-07-161-14/+30
* numeric.c: optimizenobu2012-06-201-0/+20
* * numeric.c (positive_int_p, negative_int_p): extracted.nobu2012-06-201-16/+30
* * reduce UNREACHABLE.nobu2012-04-151-6/+6
* * variable.c (trace_ev): Removed "not reached" comment as this line isdrbrain2012-04-141-6/+12
* * adjust style.nobu2012-03-151-1/+3
* * include/ruby/intern.h: Add rb_check_arity, rb_error_arity [#6085]marcandre2012-03-141-8/+4
* * numeric.c (flodivmod): must through the same pass if HAVE_FMOD or not.usa2012-03-141-4/+4
* * numeric.c: fix flodivmod for cornercases [Bug #6044]marcandre2012-03-141-10/+17
* * numeric.c (rb_enc_uint_char): raise RangeError when added codepointnaruse2012-01-081-1/+10
* Fix for r33811.naruse2011-11-221-1/+1
* * numeric.c (ruby_float_step): improve floating point calculations.naruse2011-11-221-4/+15
* * numeric.c (rb_fix2ushort): fix typo. use num rb_num2ushort()kosaki2011-11-141-1/+1
* * include/ruby/ruby.h: add NUM2SHORT(), NUM2USHORT() macros.kosaki2011-11-141-0/+74
* * numeric.c (check_uint): fix off-by-one bug of NUM2UINT.kosaki2011-11-141-1/+1
* * numeric.c (rb_infinity, rb_nan): aggregated member initializersnobu2011-10-231-4/+4
* * numeric.c (rb_infinity, rb_nan): use union to prevent bus errorngoto2011-10-211-4/+4
* Revert r33407; half-baked patch.naruse2011-10-051-19/+4
* * numeric.c (ruby_float_step): improve floating point calculations.naruse2011-10-051-4/+19
* * use RB_TYPE_P which is optimized for constant types, instead ofnobu2011-09-291-5/+5
* Revert "* numeric.c (ruby_float_step): Avoid error on i386 and amd64."naruse2011-09-161-3/+1
* * numeric.c (ruby_float_step): Avoid error on i386 and amd64.marcandre2011-09-161-1/+3