| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-01-17 | Add tests for `Integer#quo` and `Float#quo`; #5268 | Yukihiro "Matz" Matsumoto | |
| 2020-12-15 | refactor: remove trailing whitespace from C, Header, Ruby and YAML files | John Bampton | |
| Lint | |||
| 2020-11-14 | Integer operation should result in Integer. | Yukihiro "Matz" Matsumoto | |
| Should raise `RangeError` if the operation overflows. | |||
| 2020-10-12 | Reorganize `Integer` system. | Yukihiro "Matz" Matsumoto | |
| - Integrate `Fixnum` and `Integer` - Remove `Integral` - `int / int -> int` - Replace `mrb_fixnum()` to `mrb_int()` - Replace `mrb_fixnum_value()` to `mrb_int_value()`. - Use `mrb_integer_p()` instead of `mrb_fixnum_p()` | |||
| 2020-10-12 | Integrate `Fixnum` class into `Integer` class | dearblue | |
| * The `Fixnum` constant is now an alias for the `Integer` class. * Remove `struct mrb_state::fixnum_class` member. If necessary, use `struct mrb_state::integer_class` instead. | |||
| 2019-09-23 | Fix `Fixnum` overflow test in `Integer#<<` test | KOBAYASHI Shuji | |
| - Skip when `MRB_WITHOUT_FLOAT` is defined. - Make `Fixnum` overflow even when `MRB_INT64` is defined. | |||
| 2019-09-17 | Fix `Fixnum#(to_s|inspect)` argument specs | KOBAYASHI Shuji | |
| Before this patch: $ bin/mruby -e 'p 3.to_s(2)' trace (most recent call last): [0] -e:1 -e:1: 'to_s': wrong number of arguments (1 for 0) (ArgumentError) After this patch: $ bin/mruby -e 'p 3.to_s(2)' "11" | |||
| 2019-01-15 | Fix coercing for first step counter in `Numeric#step` | KOBAYASHI Shuji | |
| Before: a=[]; 7.step(4, -3.0) { |c| a << c }; p a #=> [7, 4.0] After / Ruby: a=[]; 7.step(4, -3.0) { |c| a << c }; p a #=> [7.0, 4.0] | |||
| 2019-01-03 | Remove `Kernel#class_defined?` which is not available in CRuby; #3829 | Yukihiro "Matz" Matsumoto | |
| 2017-10-11 | Test for MRB_WITHOUT_FLOAT | YAMAMOTO Masaya | |
| 2015-12-17 | Fix "ambiguous first argument" warning | Zachary Scott | |
| 2015-11-18 | Bugfix nagative-number lshift() bit overflow | murase_syuka | |
| 2015-11-18 | Bugfix lshift() bit overflow; close #3023 | murase_syuka | |
| 2015-09-02 | Integer << and >> to use Float instead of raising RangeError | Yukihiro "Matz" Matsumoto | |
| 2015-04-17 | Fix to avoid warning | Miura Hideki | |
| 2015-04-17 | Add test of negative arguments for Integer#% | Miura Hideki | |
| 2014-06-15 | Move direct superclass checking to `test/t/superclass.rb`. | take_cheeze | |
| 2014-05-14 | Add ISO No. to Integer#divmod test. | yui-knk | |
| 2014-05-13 | Merge pull request #2190 from cremno/mrbtest-mrb_int-constants | Yukihiro "Matz" Matsumoto | |
| test fixnum overflow for add, sub and mul | |||
| 2014-05-13 | Fix ISO No. | yui-knk | |
| 2014-05-05 | test fixnum overflow for add, sub and mul | cremno | |
| 2014-03-17 | Merge pull request #1871 from ksss/numeric-plus | Yukihiro "Matz" Matsumoto | |
| fix bug when `0 + other object` | |||
| 2014-03-16 | fix bug when `0 * other object` | ksss | |
| 2014-03-16 | fix bug when `0 + other object` | ksss | |
| 2014-03-04 | add tests for Integer#divmod. | Tomoyuki Sahara | |
| 2013-08-02 | I fix order of actual and expect test value in integer.rb. | Jun Hiroe | |
| 2013-07-06 | Add a few more shift tests | Carson McDonald | |
| 2013-06-15 | Improve Integer Tests | Daniel Bovensiepen | |
| 2012-09-15 | Add test case for Integer#step | Daniel Bovensiepen | |
| 2012-06-03 | Add more superclass tests | Daniel Bovensiepen | |
| 2012-05-29 | Add Test cases for Literals, Enumeration, Exceptions and clean line endings | Daniel Bovensiepen | |
| 2012-05-23 | test t/*.rb spacing fix | Yukihiro Matsumoto | |
| 2012-05-19 | Complete Integer Tests for ISO | Daniel Bovensiepen | |
| 2012-05-16 | Add Tests for Integer | Daniel Bovensiepen | |
