summaryrefslogtreecommitdiff
path: root/numeric.c
Commit message (Expand)AuthorAgeFilesLines
* * 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
* * numeric.c (fix_to_s): removed workaround for radix 2. Historically,ocean2006-02-051-4/+0
* * numeric.c (fix_to_s): (2**32).to_s(2) fails with exception whereocean2006-02-041-1/+1
* * eval.c: unify ruby_class (for method definition) and ruby_cbasematz2006-02-031-0/+3
* * configure.in: define IA64 for portability. (HP aC++/ANSI C doesn'takr2005-12-271-0/+4
* * sprintf.c (rb_f_sprintf): [ruby-dev:27967]matz2005-12-071-0/+15
* * numeric.c (num_div): use floor rather than rb_Integer().matz2005-11-231-1/+3
* * eval.c (rb_call_super): should call method_missing if super ismatz2005-11-011-1/+1
* * range.c (rb_range_beg_len): should return Qfalse for non-rangematz2005-10-051-13/+37
* * io.c (io_close): call rb_io_close() directly if io is a T_FILEmatz2005-09-191-1/+1
* * bignum.c: changed `foo _((boo))' to `foo(boo)`. [ruby-dev:27056]ocean2005-09-141-1/+1
* * array.c: moved to ANSI function style from K&R function style.ocean2005-09-121-226/+110
* * parse.y (f_larglist): allow optional arguments even whenmatz2005-08-121-6/+36
* * numeric.c (Init_Numeric): do not share implementation amongmatz2005-08-041-1/+0
* * numeric.c (fix_div): should not convert the result intomatz2005-08-041-1/+1
* * numeric.c (fix_minus, fix_mul, fix_quo, fix_div, fix_mod,matz2005-08-031-14/+76
* * bignum.c (rb_big_eq): reduce isnan(). [ruby-dev:26600]matz2005-07-251-5/+10
* * numeric.c (fix_pow): support Fixnum ** Float case directlymatz2005-05-241-0/+3
* * eval.c (rb_attr): attribute name check added.matz2005-04-181-1/+1
* * array.c: replace rb_protect_inspect() and rb_inspecting_p() bymatz2005-03-041-4/+4
* * numeric.c (Init_Numeric): turn off floating point exceptionsocean2005-01-111-0/+3