summaryrefslogtreecommitdiff
path: root/rational.c
AgeCommit message (Expand)Author
2016-11-12rational.c: purge f_cmpmrkn
2016-11-12rational.c: optimize Rational#-@mrkn
2016-11-12rational.c: optimize Rational#==mrkn
2016-11-12rational.c: optimize Rational#<=>mrkn
2016-11-11rational.c: optimize Rational#**mrkn
2016-11-11rational.c: add argument type check assertions in f_muldivmrkn
2016-11-11rational.c: optimize Rational#/mrkn
2016-11-11rational.c: avoid needless object allocation with nurat_to_doublemrkn
2016-11-11rational.c: optimize rational * {float, huge rational, bignum}mrkn
2016-11-11rational.c: optimize rational - {float,rational}mrkn
2016-11-11rational.c: optimize rational - integermrkn
2016-11-11rational.c: optimize rational + rationalmrkn
2016-11-11rational.c: prevent unused warningmrkn
2016-11-11numeric.c, rational.c: refactor by using FIXNUM_NEGATIVE_P and FIXNUM_ZERO_Pmrkn
2016-11-11rational.c: optimize Integer#gcd.mrkn
2016-11-11rational.c: optimize rational + integer.mrkn
2016-11-11rational.c: optimize rational + float.mrkn
2016-11-11rational.c: check loadnobu
2016-11-11rational.c: optimizenobu
2016-11-11rational.c: use RB_INTEGER_TYPE_Pnobu
2016-11-10rational.c: optimize Rational#to_f by using rb_int_fdivmrkn
2016-11-05numeric.c: round to nearest evennobu
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