- 23 May, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 22 May, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
`Kernel#Rational` requires numerator
-
KOBAYASHI Shuji authored
-
- 21 May, 2019 12 commits
-
-
Yukihiro "Matz" Matsumoto authored
Read irep from buffers
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Or `Float` if `mrb_float` value is too big (or too small) to fit in `mrb_int`. The `_int_` in `mrb_int_value` means `Integral` module, which represents integer-like values in mruby.
-
Yukihiro "Matz" Matsumoto authored
It should raise an error.
-
Yukihiro "Matz" Matsumoto authored
This commit removes `Float` from `rational.c`.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Move `**`,`/`,`quo`,`div` and comparison methods to Integral from Numeric
-
KOBAYASHI Shuji authored
Having these methods in Numeric can get in the way of creating subclasses of Numeric because they only support Fixnum and Float.
-
Yukihiro "Matz" Matsumoto authored
Revert part of #4457
-
KOBAYASHI Shuji authored
-
- 20 May, 2019 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4457 from shuujii/change-the-order-of-expected-and-actual-in-mruby-rational-test Change the order of "expected" and "actual" in `mruby-rational` test
-
Yukihiro "Matz" Matsumoto authored
Drop dependency from `mruby-rational` to `mruby-object-ext`
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
New functions: * mrb_num_plus(mrb, x, y) * mrb_num_minus(mrb, x, y) * num_num_mul(mrb, x, y)
-
- 19 May, 2019 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove "LINE" section reader
-
Yukihiro "Matz" Matsumoto authored
Fix `Rational#<=>(Numeric)`
-
Yukihiro "Matz" Matsumoto authored
Move `Kernel#instance_eval` to `BasicObject`
-
Yukihiro "Matz" Matsumoto authored
Move `Kernel#equal? to `BasicObject`
-
Yukihiro "Matz" Matsumoto authored
Move `Kernel#instance_exec` to `BasicObject`
-
Yukihiro "Matz" Matsumoto authored
The former should contain function like methods, and the latter should contain methods shared by all objects.
-
KOBAYASHI Shuji authored
Reported by Sergey Ukrainskiy: https://github.com/mruby/mruby/commit/f5fb1307b017fb972c12b4ec4b1866d789b0ca09#r33590698
-
dearblue authored
Because it is not currently output by `mrbc`.
-
- 18 May, 2019 10 commits
-
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Move `Object#(Rational|Complex)` to `Kernel`
-
Yukihiro "Matz" Matsumoto authored
Move `Numeric#__coerce_step_counter` to `Integral`
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
This method is only used in `Integral#step`
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 17 May, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
I assume there's no realistic usage of `Rational` with `MRB_WITHOUT_FLOAT`. But just for consistency.
-
Yukihiro "Matz" Matsumoto authored
(Proof of Concept) mruby tuning profiles [ci skip]
-