summaryrefslogtreecommitdiff
path: root/rational.c
Commit message (Expand)AuthorAgeFilesLines
* * rational.c (numeric_quo): move num_quo in numeric.c to numeric_quomrkn2013-06-071-0/+27
* rational.c: use existing functionsnobu2013-05-291-6/+4
* * gc.c: support RGENGC. [ruby-trunk - Feature #8339]ko12013-05-131-1/+1
* * include/ruby/ruby.h: constify RRational::(num,den) andko12013-05-131-4/+4
* * *.c, parse.y, insns.def: use RARRAY_AREF/ASET macroko12013-05-131-3/+3
* * internal.h (MUL_OVERFLOW_SIGNED_INTEGER_P): New macro.akr2013-04-091-4/+3
* * rational.c: fix dangling if, else-if and else.takano322013-03-121-6/+12
* * complex.c: edited rdoc.tadf2013-03-101-1/+7
* * complex.c: described syntax of string form.tadf2013-03-101-0/+12
* * array.c: Document #<=> return values and formattingzzak2013-02-231-1/+3
* * rational.c (nurat_expt): Deal with special cases for rationals 0, ±1marcandre2013-02-051-0/+46
* marshal.c: marshal_dump instance varialbesnobu2013-01-261-0/+1
* * rational.c (f_round_common): should check overflow.tadf2012-12-151-0/+6
* * ratioanl.c (float_rationalize): reduced.tadf2012-12-151-10/+18
* random.c, rational.c: make marshal methods privatenobu2012-12-031-2/+2
* * complex.c (string_to_c_strict, string_to_c): check NUL.tadf2012-11-221-3/+21
* * rational.c (read_digits): due to a bit tighter rb_cstr_to_inum().tadf2012-11-211-2/+6
* * complex.c: some improvements.tadf2012-11-201-14/+35
* * complex.c (read_comp): mathn compliant.tadf2012-11-181-2/+2
* trivial changes.tadf2012-11-181-7/+10
* * complex.c (string_to_c_strict, string_to_c): rewrote without regexp.tadf2012-11-171-125/+167
* * complex.c: modified doc.tadf2012-11-101-5/+10
* * complex.c: modified doc.tadf2012-11-031-58/+4
* * include/ruby/ruby.h: add C APIs.nari2012-10-201-2/+1
* complex.c, rational.c: compatible marshal loadernobu2012-07-251-10/+30
* * marshal.c: experimental test aborted.tadf2012-06-031-44/+0
* * marshal.c: calls directly rb_{Complex,Rational}_marshal_load().tadf2012-06-031-0/+20
* use rb_marshal_{dump,load}nobu2012-06-031-8/+3
* * complex.c: wrote Complex#_dump and Complex::load. But nowtadf2012-06-031-0/+29
* * complex.c (nucomp_marshal_load): [ruby-core:45394]tadf2012-06-031-0/+4
* * 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