aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
Commit message (Expand)AuthorAgeFilesLines
* * 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
* 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-151-1/+3
* * numeric.c (dbl2ival): Fix Float#divmod and #round for 32 bit platformmarcandre2011-09-051-1/+1
* * numeric.c (flo_round): Fix criteria for 32 bits platformmarcandre2011-09-051-5/+5
* * numeric.c (flo_round): Make Float#round round big values [bug #5272]marcandre2011-09-041-34/+16
* * numeric.c: Extract integer rounding into int_round_0marcandre2011-09-041-32/+41
* * numeric.c (int_round): Integer#round always returns an Integer [Bug #5271]marcandre2011-09-041-4/+13
* * numeric.c (flo_round): substitute machine dependent magic number.nobu2011-09-011-5/+6
* * numeric.c (flo_round): Avoid overflow by optimizing for trivial casesmarcandre2011-08-311-6/+28
* * numeric.c (bit_coerce): A Fixnum and a Bignum are only permitted formrkn2011-08-291-4/+3
* * numeric.c (int_round): Fix Integer#round [ruby-core:39096]marcandre2011-08-241-1/+3