summaryrefslogtreecommitdiff
path: root/rational.c
AgeCommit message (Expand)Author
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
2018-09-29rational.c: may be floatnobu
2018-09-29Split assertion expressionsnobu
2018-09-04rational.c: remove duplicate macrosnobu
2018-09-01complex.c: simplify division resultnobu
2018-03-15Add `exception:` keyword in Kernel#Rational()mrkn
2018-03-09Removed useless assertions [ci skip]nobu
2018-03-09rational.c: removed redundant conditionsnobu
2018-03-07complex.c, rational.c: no backrefnobu
2018-03-07complex.c, rational.c: adjust indentnobu
2018-03-07complex.c, rational.c: simplified macro conditionsnobu
2018-02-27Support two `to_r`-responding args in Rational()mrkn
2018-02-27defs/id.def: predefine to_f IDnobu
2018-02-24complex.c, rational.c: remove dead codemrkn
2018-02-24rational.c: simplify a branch conditionmrkn
2018-02-24rational.c: removed needless calcnobu