summaryrefslogtreecommitdiff
path: root/rational.c
Commit message (Expand)AuthorAgeFilesLines
* RUBY_ASSERTnobu2016-01-221-1/+1
* rational.c: preserve encoding in exceptionnormal2015-09-111-3/+2
* * remove trailing spaces.svn2015-04-301-1/+1
* * rational.c: Added documentation for rational literal.hsbt2015-04-301-2/+3
* * rational.c: removed commented-out code.hsbt2015-01-101-4/+0
* * internal.h: Include ruby.h and ruby/encoding.h to beakr2014-11-151-1/+0
* provide backward compatibilitiesnobu2014-08-221-0/+2
* * include/ruby/ruby.h: Hide Rational internal.akr2014-05-171-0/+15
* avoid large alloca on Complex/Rational callsnormal2014-05-021-1/+3
* * internal.h (struct RBignum): Use size_t for len.akr2014-04-191-2/+2
* * bignum.c (SIZEOF_BDIGIT): Renamed from SIZEOF_BDIGITS.akr2014-04-131-2/+2
* * complax.c: [DOC] Document number conversion of `nil` by @skade [fix GH-570]...hsbt2014-03-211-0/+2
* unused functions and variablesnobu2014-03-171-35/+1
* * internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.akr2014-02-151-5/+5
* revertd.tadf2013-09-171-12/+1
* Revert r42942; a revert requires a reasonnaruse2013-09-171-1/+12
* * complex.c: removed meaningless lines.tadf2013-09-151-2/+0
* removed an empty line.tadf2013-09-151-1/+0
* * rational.c (nurat_div): reverted r28844, r28886 and r28887.tadf2013-09-151-12/+1
* rational.c: conditionally defined variablenobu2013-09-101-1/+6
* complex.c, rational.c: use RB_TYPE_Pnobu2013-09-091-105/+93
* * rational.c (f_gcd): Relax the condition to use GMP.akr2013-09-081-1/+1
* * rational.c: Include gmp.h if GMP is used.akr2013-09-061-1/+54
* * rational.c (rb_flt_rationalize_with_prec): new public C functionmrkn2013-08-011-38/+58
* rational.c: ensure to be Rationalnobu2013-07-261-0/+4
* * 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