summaryrefslogtreecommitdiffstats
path: root/numeric.c
Commit message (Expand)AuthorAgeFilesLines
...
* * include/ruby/ruby.h: introduce 2 macros:ko12007-11-131-88/+88
* * numeric.c (flodivmod): work around for inifinity.nobu2007-11-131-1/+11
* * numeric.c (flo_divmod): round to the nearest integer. [ ruby-Bugs-14540 ]shyouhei2007-11-121-1/+1
* * numeric.c (int_chr): take an optional encoding parameter.nobu2007-10-261-10/+30
* * numeric.c (fix_pow): returns 1.0 for 0**0.0.nobu2007-10-261-0/+1
* * numeric.c (fix_pow): returns infinity for 0**-1. [ruby-dev:32084]nobu2007-10-261-2/+8
* * numeric.c (flo_round): should be number but not rounding factor.nobu2007-10-151-1/+1
* * numeric.c: use #ifdef for test LONG_LONG_VALUE.akr2007-09-301-2/+2
* * include/ruby/ruby.h (struct RBignum): embed digits in RBignum forakr2007-09-011-1/+1
* * numeric.c (SQRT_LONG_MAX): use SIZEOF_LONG instead of SIZEOF_VALUEusa2007-08-301-1/+1
* * encoding.c: provide basic features for M17N.matz2007-08-251-1/+1
* * bignum.c (rb_big_lshift, rb_big_rshift): separated functionsnobu2007-07-191-14/+29
* * numeric.c (fix_pow): integer power calculation: 0**n => 0, matz2007-07-141-4/+19
* * numeric.c (int_pow): overflow detection using FIT_SQRT_LONG().matz2007-07-131-6/+6
* * numeric.c (int_round): should not return false, but self.matz2007-07-131-1/+1
* * blockinlining.c: remove "yarv" prefix.ko12007-07-121-5/+0
* * numeric.c (int_pow): fix previous nubu's commit.usa2007-07-051-4/+7
* * numeric.c (int_pow): even number multiplication never be negative.nobu2007-07-051-1/+1
* * numeric.c (fix_pow): get rid of division by zero. reported bynobu2007-06-291-3/+16
* * numeric.c: fix indent.nobu2007-06-291-29/+29
* * include/ruby: moved public headers.nobu2007-06-101-1/+1
* * numeric.c (int_round): should not just truncate.matz2007-06-051-16/+25
* * compile.c, dir.c, eval.c, eval_jump.h, eval_method.h, numeric.c,nobu2007-06-051-24/+24
* * numeric.c (int_round): small optimization to handle bignums.matz2007-06-011-1/+17
* * numeric.c (num_round): should convert self to Float.nobu2007-06-011-5/+1
* * numeric.c (flo_round): now takes optional argument to specifymatz2007-05-311-23/+40
* * numeric.c: purged trailing spaces.nobu2007-05-091-124/+124
* * bignum.c (Init_Bignum), numeric.c (Init_Numeric): added fdiv asnobu2007-05-091-0/+4
* * numeric.c (int_pow): bugfix of overflow detection.nobu2007-04-271-1/+1
* * numeric.c (int_pow): rb_big_pow() may return other than Bignum.nobu2007-04-271-2/+4
* * bignum.c (rb_big_pow): reduce multiplying for even number.nobu2007-04-261-1/+33
* * numeric.c (fix_equal): A bit more optimization.knu2007-02-211-3/+2
* * numeric.c (fix_equal): remove FIX2LONG() to optimize. suggestedmatz2007-02-211-17/+7
* * call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,nobu2007-02-021-1/+1
* * numeric.c (int_pred): add Integer#pred correspondingmatz2007-01-301-0/+21
* * Merge YARVko12006-12-311-21/+47
* * bignum.c (rb_big_hash): use rb_memhash().matz2006-09-211-3/+1
* * numeric.c (Init_Numeric): fix_odd_p and fix_even_p are for Fixnum.nobu2006-09-211-2/+2
* * numeric.c (int_odd_p): a new method to check even or odd.matz2006-09-211-0/+68
* * numeric.c (fix_mul): typo again. patch from Tadashi Saitonobu2006-09-201-1/+1
* * numeric.c (fix_mul): get rid of shift overflow.nobu2006-09-181-1/+1
* * numeric.c (fix_mul): fixed typo. fixed: [ruby-core:08885]nobu2006-09-171-3/+3
* * numeric.c (fix_mul): avoid bignum multiplication as far asmatz2006-09-141-3/+19
* * numeric.c (fix_plus): addition in Fixnum will never overflowmatz2006-09-041-8/+2
* * ruby.h (struct RArray): embed small arrays.matz2006-09-021-3/+3
* * ruby.h (struct RString): embed small strings.matz2006-08-311-1/+1
* * numeric.c (flo_hash): improve collision.nobu2006-08-301-6/+2
* * numeric.c (num_step): also return an enumerator object if no blocknobu2006-08-201-0/+1
* * bignum.c (rb_int2big): use SIGNED_VALUE. [ruby-dev:29019]matz2006-07-111-18/+20
* * sprintf.c (rb_str_format): allow %c to print one charactermatz2006-06-091-11/+16