summaryrefslogtreecommitdiffstats
path: root/numeric.c
Commit message (Expand)AuthorAgeFilesLines
* * 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
* * re.c (rb_reg_initialize_m): should raise exception instead ofmatz2004-11-171-3/+4
* * numeric.c (flo_divmod): protect float values from GC bymatz2004-11-161-1/+3
* * node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers.matz2004-10-271-3/+0
* * array.c, enum.c, pack.c: rdoc patch from Johan Holmbergocean2004-07-091-1/+1
* * eval.c (rb_mod_freeze): prepare string representation beforematz2004-06-161-0/+1
* * io.c (rb_io_gets_m): set lastline ($_) even when read line ismatz2004-06-041-1/+1
* * numeric.c (flo_eq): alway check if operands are NaN.matz2004-05-201-2/+0
* * numeric.c (flo_to_s): p 0.0 should be '0.0' not '0.0e+00'.ocean2004-05-171-11/+10
* * eval.c (eval): warning during eval should not cause deadlock.matz2004-05-101-1/+1
* * parse.y (string_content): turn off NODE_NEWLINE flag to avoidmatz2004-05-071-21/+13
* * array.c, enum.c, eval.c, file.c, io.c, numeric.c, object.c, prec.c,nobu2004-04-141-1/+1