path: root/rational.c
AgeCommit message (Expand)Author
2023-04-06[Feature #19474] Refactor NEWOBJ macrosMatt Valentine-House
2023-03-13[DOC] Enhanced RDoc for NilClass (#7500)Burdette Lamar
2023-02-19Remove (newly unneeded) remarks about aliasesBurdetteLamar
2022-11-16Using UNDEF_P macroS-H-GAMELINKS
2022-10-27Improve performance some `Integer` and `Float` methods [Feature #19085] (#6638)S.H
2022-07-21Expand tabs [ci skip]Takashi Kokubun
2022-05-20Disable GMP by -DUSE_GMP=0Nobuyoshi Nakada
2022-02-08[DOC] Fix broken links to literals.rdocNobuyoshi Nakada
2022-02-08[DOC] Simplify links to global methodsNobuyoshi Nakada
2021-12-03Adding links to literals and Kernel (#5192)Burdette Lamar
2021-09-11Using RB_BIGNUM_TYPE_P macroS-H-GAMELINKS
2021-09-02Make internal predicate functions to return simple booleanNobuyoshi Nakada
2021-08-31Remove unneeded comments in rational.cS-H-GAMELINKS
2021-08-27Use C99-defined macros to classify a floating-point numberNobuyoshi Nakada
2021-08-18Replace f_boolcast with RBOOL macroS.H
2021-08-06Use Rational for Float#round with ndigits > 14Jeremy Evans
2021-07-27Use predefined IDsNobuyoshi Nakada
2021-05-12cdhash_cmp: can take rational literals卜部昌平
2021-01-23Rationalize floats in coerce [Bug #17572]Nobuyoshi Nakada
2021-01-23Make reciprocal properly of non-integral rational [Bug #17572]Nobuyoshi Nakada
2021-01-07Follow the NDEBUG given to the wholeNobuyoshi Nakada
2020-12-09Fix ArithmeticSequence#last and ArithmeticSequence#each for non-integer seque...Kenta Murata
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-18Deprecate 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