summaryrefslogtreecommitdiff
path: root/numeric.c
AgeCommit message (Expand)Author
2007-10-26* numeric.c (int_chr): take an optional encoding parameter.nobu
2007-10-26* numeric.c (fix_pow): returns 1.0 for 0**0.0.nobu
2007-10-26* numeric.c (fix_pow): returns infinity for 0**-1. [ruby-dev:32084]nobu
2007-10-15* numeric.c (flo_round): should be number but not rounding factor.nobu
2007-09-30* numeric.c: use #ifdef for test LONG_LONG_VALUE.akr
2007-09-01* include/ruby/ruby.h (struct RBignum): embed digits in RBignum forakr
2007-08-30* numeric.c (SQRT_LONG_MAX): use SIZEOF_LONG instead of SIZEOF_VALUEusa
2007-08-25* encoding.c: provide basic features for M17N.matz
2007-07-19* bignum.c (rb_big_lshift, rb_big_rshift): separated functionsnobu
2007-07-14* numeric.c (fix_pow): integer power calculation: 0**n => 0, matz
2007-07-13* numeric.c (int_pow): overflow detection using FIT_SQRT_LONG().matz
2007-07-13* numeric.c (int_round): should not return false, but self.matz
2007-07-12* blockinlining.c: remove "yarv" prefix.ko1
2007-07-05 * numeric.c (int_pow): fix previous nubu's commit.usa
2007-07-05* numeric.c (int_pow): even number multiplication never be negative.nobu
2007-06-29* numeric.c (fix_pow): get rid of division by zero. reported bynobu
2007-06-29* numeric.c: fix indent.nobu
2007-06-10* include/ruby: moved public headers.nobu
2007-06-05* numeric.c (int_round): should not just truncate.matz
2007-06-05* compile.c, dir.c, eval.c, eval_jump.h, eval_method.h, numeric.c,nobu
2007-06-01* numeric.c (int_round): small optimization to handle bignums.matz
2007-06-01* numeric.c (num_round): should convert self to Float.nobu
2007-05-31* numeric.c (flo_round): now takes optional argument to specifymatz
2007-05-09* numeric.c: purged trailing spaces.nobu
2007-05-09* bignum.c (Init_Bignum), numeric.c (Init_Numeric): added fdiv asnobu
2007-04-27* numeric.c (int_pow): bugfix of overflow detection.nobu
2007-04-27* numeric.c (int_pow): rb_big_pow() may return other than Bignum.nobu
2007-04-26* bignum.c (rb_big_pow): reduce multiplying for even number.nobu
2007-02-21* numeric.c (fix_equal): A bit more optimization.knu
2007-02-21* numeric.c (fix_equal): remove FIX2LONG() to optimize. suggestedmatz
2007-02-02* call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,nobu
2007-01-30* numeric.c (int_pred): add Integer#pred correspondingmatz
2006-12-31 * Merge YARVko1
2006-09-21* bignum.c (rb_big_hash): use rb_memhash().matz
2006-09-21* numeric.c (Init_Numeric): fix_odd_p and fix_even_p are for Fixnum.nobu
2006-09-21* numeric.c (int_odd_p): a new method to check even or odd.matz
2006-09-20* numeric.c (fix_mul): typo again. patch from Tadashi Saitonobu
2006-09-18* numeric.c (fix_mul): get rid of shift overflow.nobu
2006-09-17* numeric.c (fix_mul): fixed typo. fixed: [ruby-core:08885]nobu
2006-09-14* numeric.c (fix_mul): avoid bignum multiplication as far asmatz
2006-09-04* numeric.c (fix_plus): addition in Fixnum will never overflowmatz
2006-09-02* ruby.h (struct RArray): embed small arrays.matz
2006-08-31* ruby.h (struct RString): embed small strings.matz
2006-08-30* numeric.c (flo_hash): improve collision.nobu
2006-08-20* numeric.c (num_step): also return an enumerator object if no blocknobu
2006-07-11* bignum.c (rb_int2big): use SIGNED_VALUE. [ruby-dev:29019]matz
2006-06-09* sprintf.c (rb_str_format): allow %c to print one charactermatz
2006-02-05* numeric.c (fix_to_s): removed workaround for radix 2. Historically,ocean
2006-02-04* numeric.c (fix_to_s): (2**32).to_s(2) fails with exception whereocean
2006-02-03* eval.c: unify ruby_class (for method definition) and ruby_cbasematz