summaryrefslogtreecommitdiff
path: root/rational.c
AgeCommit message (Expand)Author
2016-07-29rb_funcallvnobu
2016-05-18ruby.h: RB_INTEGER_TYPE_Pnobu
2016-04-15rename rb_rational_add -> rb_rational_plusmrkn
2016-04-15array.c (rb_ary_sum): use rb_rational_add directlymrkn
2016-03-30rational.c: pure declarationsnobu
2016-01-22RUBY_ASSERTnobu
2015-09-11rational.c: preserve encoding in exceptionnormal
2015-04-30* remove trailing spaces.svn
2015-04-30* rational.c: Added documentation for rational literal.hsbt
2015-01-10* rational.c: removed commented-out code.hsbt
2014-11-15* internal.h: Include ruby.h and ruby/encoding.h to beakr
2014-08-22provide backward compatibilitiesnobu
2014-05-17* include/ruby/ruby.h: Hide Rational internal.akr
2014-05-02avoid large alloca on Complex/Rational callsnormal
2014-04-19* internal.h (struct RBignum): Use size_t for len.akr
2014-04-13* bignum.c (SIZEOF_BDIGIT): Renamed from SIZEOF_BDIGITS.akr
2014-03-21* complax.c: [DOC] Document number conversion of `nil` by @skade [fix GH-570]...hsbt
2014-03-17unused functions and variablesnobu
2014-02-15* internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.akr
2013-09-17revertd.tadf
2013-09-17Revert r42942; a revert requires a reasonnaruse
2013-09-15 * complex.c: removed meaningless lines.tadf
2013-09-15removed an empty line.tadf
2013-09-15 * rational.c (nurat_div): reverted r28844, r28886 and r28887.tadf
2013-09-10rational.c: conditionally defined variablenobu
2013-09-09complex.c, rational.c: use RB_TYPE_Pnobu
2013-09-08* rational.c (f_gcd): Relax the condition to use GMP.akr
2013-09-06* rational.c: Include gmp.h if GMP is used.akr
2013-08-01* rational.c (rb_flt_rationalize_with_prec): new public C functionmrkn
2013-07-26rational.c: ensure to be Rationalnobu
2013-06-07* rational.c (numeric_quo): move num_quo in numeric.c to numeric_quomrkn
2013-05-29rational.c: use existing functionsnobu
2013-05-13* gc.c: support RGENGC. [ruby-trunk - Feature #8339]ko1
2013-05-13* include/ruby/ruby.h: constify RRational::(num,den) andko1
2013-05-13* *.c, parse.y, insns.def: use RARRAY_AREF/ASET macroko1
2013-04-09* internal.h (MUL_OVERFLOW_SIGNED_INTEGER_P): New macro.akr
2013-03-12 * rational.c: fix dangling if, else-if and else.takano32
2013-03-10 * complex.c: edited rdoc.tadf
2013-03-10 * complex.c: described syntax of string form.tadf
2013-02-23* array.c: Document #<=> return values and formattingzzak
2013-02-05* rational.c (nurat_expt): Deal with special cases for rationals 0, ±1marcandre
2013-01-26marshal.c: marshal_dump instance varialbesnobu
2012-12-15 * rational.c (f_round_common): should check overflow.tadf
2012-12-15 * ratioanl.c (float_rationalize): reduced.tadf
2012-12-03random.c, rational.c: make marshal methods privatenobu
2012-11-22 * complex.c (string_to_c_strict, string_to_c): check NUL.tadf
2012-11-21 * rational.c (read_digits): due to a bit tighter rb_cstr_to_inum().tadf
2012-11-20 * complex.c: some improvements.tadf
2012-11-18 * complex.c (read_comp): mathn compliant.tadf
2012-11-18trivial changes.tadf