summaryrefslogtreecommitdiff
path: root/rational.c
AgeCommit message (Expand)Author
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
2012-11-17 * complex.c (string_to_c_strict, string_to_c): rewrote without regexp.tadf
2012-11-10 * complex.c: modified doc.tadf
2012-11-03 * complex.c: modified doc.tadf
2012-10-20* include/ruby/ruby.h: add C APIs.nari
2012-07-25complex.c, rational.c: compatible marshal loadernobu
2012-06-03 * marshal.c: experimental test aborted.tadf
2012-06-03 * marshal.c: calls directly rb_{Complex,Rational}_marshal_load().tadf
2012-06-03use rb_marshal_{dump,load}nobu
2012-06-03 * complex.c: wrote Complex#_dump and Complex::load. But nowtadf
2012-06-03 * complex.c (nucomp_marshal_load): [ruby-core:45394]tadf
2012-02-25* complex.c (nucomp_marshal_load): raise error on invalid data.naruse
2011-09-29* use RB_TYPE_P which is optimized for constant types, instead ofnobu
2011-08-17* rational.c (nurat_coerce): Rational#coerce should converts itselfmrkn
2011-06-17* internal.h: declare internal functions here.akr
2011-06-09 * complex.c (string_to_c_internal): uses rb_reg_nth_match;tadf