summaryrefslogtreecommitdiff
path: root/rational.c
AgeCommit message (Expand)Author
2020-11-10Removed canonicalization for mathnNobuyoshi Nakada
2020-10-26rational.c: convert a numerator to rational before calling fdiv in Kernel.Rat...Kenta Murata
2020-10-22rational.c: try converting by to_int in Rational() (#3684)Kenta Murata
2020-10-21Don't redefine #rb_intern over and over againStefan Stüben
2020-08-15RARRAY_AREF: convert into an inline function卜部昌平
2020-07-01Reduced working `Rational` object allocationsNobuyoshi Nakada
2020-07-01Renamed `nurat_sub` compliant with `rb_rational_plus`Nobuyoshi Nakada
2020-07-01Added a few integer case short-circuitsNobuyoshi Nakada
2020-07-01Replaced f_odd_p with rb_int_odd_pNobuyoshi Nakada
2020-06-29parse_rat: do not goto into a branch卜部昌平
2020-06-29rb_rational_cmp: do not goto into a branch卜部昌平
2020-05-11sed -i 's|ruby/impl|ruby/internal|'卜部昌平
2020-05-11sed -i s|ruby/3|ruby/impl|g卜部昌平
2020-04-21reroute redefinition of NDEBUG卜部昌平
2020-04-08Merge pull request #2991 from shyouhei/ruby.h卜部昌平
2020-01-17rb_rational_raw: convert num and den by to_intKenta Murata
2020-01-17rb_rational_raw: make a denominator always positiveKenta Murata
2020-01-17internal/rational.h: insert assertions in RATIONAL_SET_{NUM,DEN}Kenta Murata
2020-01-17rational.c: remove nurat_s_newKenta Murata
2020-01-17Make RATIONAL_SET_{NUM,DEN} static inline functionsKenta Murata
2019-12-26decouple internal.h headers卜部昌平
2019-11-17Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans
2019-09-25Make rb_scan_args handle keywords more similar to Ruby methods (#2460)Jeremy Evans
2019-08-10rb_numeric_quo: support ComplexNobuyoshi Nakada
2019-08-03Predefine some IDsNobuyoshi Nakada
2019-08-02Make float_decode_internal mantissa intNobuyoshi Nakada
2019-08-02Deduplicate common codeNobuyoshi Nakada
2019-08-02Expanded f_quoNobuyoshi Nakada
2019-08-02Expanded f_ceilNobuyoshi Nakada
2019-08-02Use RB_INTEGER_TYPE_PNobuyoshi Nakada
2019-08-02Expanded f_modNobuyoshi Nakada
2019-07-15Expanded f_numeratorNobuyoshi Nakada
2019-07-15Expanded f_denominatorNobuyoshi Nakada
2019-07-11Check exception flag as a bool [Bug #15987]Nobuyoshi Nakada
2019-01-12No TypeError at nil if exception: falsenobu
2019-01-09Remove duplicate macro definitionnobu
2019-01-03complex.c: Optimize Complex#* and Complex#**mrkn
2019-01-03[DOC] Add `or nil` to call-seq [ci skip]kazu
2018-12-27delete emacs mode lines [ci skip]shyouhei
2018-12-22{complex,object,rational}.c: document exception: falsenormal
2018-12-22Use idExceptionnobu
2018-12-06Prefer rb_check_arity when 0 or 1 argumentsnobu
2018-12-04Prefer rb_check_arity when 0 or 1 argumentsnobu
2018-11-14rational.c (nurat_div): use the dedicated function nurat_to_fnobu
2018-11-14* expand tabs.svn
2018-11-14numeric.c: avoid division by zeroshyouhei
2018-11-08refine parse_ratnobu
2018-10-20complex.c: small optimization of Complex#**nobu
2018-10-05Remove wrong conversionnobu
2018-10-02Fix Rational of Floatnobu