summaryrefslogtreecommitdiff
path: root/numeric.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* * numeric.c: Rdoc fixmarcandre2011-08-241-3/+2
* * numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get endian.ngoto2011-08-051-2/+2
* * numeric.c (rb_num2ull): use FIX2LONG instead of FIX2ULONG. seeusa2011-07-111-1/+1
* * numeric.c (ULLONG_MAX): fallback definition.nobu2011-07-091-0/+3
* * numeric.c (rb_num2ull): use own switch sentense.naruse2011-07-071-2/+35
* * internal.h: declare internal functions here.akr2011-06-171-4/+0
* * numeric.c (rb_enc_uint_chr): fix message format. Bug#4869nobu2011-06-111-1/+1
* * include/ruby/missing.h, numeric.c (round): moved prototype of round()usa2011-06-031-2/+0
* * insns.def (opt_mult): as r31805, volatile it.naruse2011-05-301-1/+1
* * numeric.c (int_pow): make sure to assign the result of x * z.naruse2011-05-301-1/+1
* revert r31783.nobu2011-05-291-1/+1
* * numeric.c (flo_round): use absolute value as divisor.nobu2011-05-291-1/+1
* * numeric.c: add #include "interna.h" for rb_big_uminus() prototype.nagachika2011-05-291-0/+1
* * numeric.c (flo_round): fix for negative value.nobu2011-05-291-2/+8
* * remove trailing spaces.nobu2011-05-151-1/+1
* * numeric.c (flo_coerce): fix a typo in documentation.nagachika2011-05-131-1/+1
* Add #flo_coerce documentation.shyouhei2011-05-131-1/+9
* * numeric.c (int_ord): remove K&R style.naruse2011-05-091-2/+1