summaryrefslogtreecommitdiff
path: root/rational.c
Commit message (Expand)AuthorAgeFilesLines
* * complex.c (nucomp_marshal_load): raise error on invalid data.naruse2012-02-251-0/+2
* * use RB_TYPE_P which is optimized for constant types, instead ofnobu2011-09-291-5/+5
* * rational.c (nurat_coerce): Rational#coerce should converts itselfmrkn2011-08-171-0/+2
* * internal.h: declare internal functions here.akr2011-06-171-0/+1
* * complex.c (string_to_c_internal): uses rb_reg_nth_match;tadf2011-06-091-10/+4
* * rational.c (string_to_r): Rational#** may return flonum.tadf2011-06-091-3/+7
* * insns.def (opt_mult): as r31805, volatile it.naruse2011-05-301-1/+1
* * complex.c, rational.c: omitted some method calls.tadf2011-04-241-19/+46
* * rational.c: parenthesize macro arguments.akr2010-12-261-14/+14
* modified some descriptions.tadf2010-11-231-9/+9
* * complex.c, rational.c ({nucomp,nurat}_expt): added a check.tadf2010-11-221-2/+2
* * configure.in, include/ruby/defines.h (RUBY_FUNC_EXPORTED): macronobu2010-08-141-9/+1
* * rational.c (nurat_div): divided by infinity should be zero.nobu2010-08-061-8/+1
* * rational.c (nurat_div): divided by float zero should benobu2010-08-061-1/+1
* * complex.c (nucomp_marshal_load): should check the argument.nobu2010-08-051-0/+1
* * bignum.c (rb_big_eq): never equal to infinity.nobu2010-08-031-0/+17
* * include/ruby/{intern,io}.h: add missing prototypes.nobu2010-07-221-0/+8
* * complex.c, rational.c, lib/cmath.rb, lib/date.rb lib/date/delta*:tadf2010-04-261-0/+225
* * complex.c, ratioanl.c: reverted experimental r24565.tadf2010-04-251-225/+0
* * complex.c (nucomp_real_check): raise TypeError instead of ArgumentErrormarcandre2010-03-031-1/+1
* * rational.c (nurat_expt): use Float#** when Rational ** Float.naruse2010-02-251-3/+1
* fix typos.akr2009-11-031-3/+3
* * include/ruby/st.h (st_hash_func): use st_index_t.nobu2009-09-081-1/+1
* * complex.c (nucomp_rationalize) added. [experimental]tadf2009-08-161-0/+225
* * complex.c (nucomp_hash), rational.c (nurat_hash): not to usenobu2009-07-251-4/+3
* * rational.c (float_to_r): an improvement.tadf2009-07-191-0/+16
* * complex.c (make_patterns): do not use \d.tadf2009-07-191-1/+1
* * complex.c: added some shortcuts.tadf2009-07-121-2/+28
* * complex.c: use k_exact_{zero,one}_p macro.tadf2009-07-121-5/+8
* * numeric.c (fix_divide): added an entry to rational.tadf2009-07-121-0/+7
* * rational.c: edited rdoc.tadf2009-07-051-5/+5
* * rational.c: renamed equal_p to eqeq_p.tadf2009-07-031-14/+14
* added a comment.tadf2009-06-291-0/+1
* * rational.c (float_to_r): always returns rational.tadf2009-06-291-1/+1
* * complex.c (nucomp_div): raises ZeroDivisionError immediatelytadf2009-06-281-1/+3
* * complex.c (nucomp_expt): convert to a float when the given powertadf2009-06-281-1/+2
* * complex.c (nucomp_expt): some improvements.tadf2009-06-281-5/+5
* * complex.c: renamed some static functions.tadf2009-06-281-10/+9
* * rational.c (nurat_cmp): use rb_num_coerce_cmp.tadf2009-06-271-1/+1
* * complex.c: revised rdoc.tadf2009-06-271-354/+254
* * numeric.c (num_div): don't use num_floor which is actuallytadf2009-06-201-123/+0
* * complex.c: edited rdoc.tadf2009-06-191-23/+20
* * complex.c: edited rdoc.tadf2009-06-191-1/+7
* * complex.c; edited rdoc.tadf2009-06-191-41/+22
* * rational.c (nurat_abs); removed.tadf2009-06-191-25/+0
* * rational.c; edited rdoc.tadf2009-06-191-1/+10
* due to conflicttadf2009-06-191-110/+143
* * complex.c: constant COMPLEX_NAME has been removed.tadf2009-06-191-5/+1
* * rational.c: added rdoc. a patch from Run Paint Run Run.tadf2009-06-191-2/+662
* * numeric.c (*_numerator,*_denominator): moved to rational.c.tadf2009-06-191-0/+60