| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-08-05 | Merge pull request #4614 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/use-mrb_int-instead-of-to_int-in-mruby-numeric-ext Use `mrb_int()` instead of `to_int()` in `mruby-numeric-ext` | |||
| 2019-08-04 | Use `mrb_int()` instead of `to_int()` in `mruby-numeric-ext` | KOBAYASHI Shuji | |
| 2019-08-04 | Add constants for floating point number | dearblue | |
| 2019-07-21 | Integrate `Integral#chr` (`Fixnum#chr`) to `mruby-string-ext` | KOBAYASHI Shuji | |
| Because they're defined in both `mruby-string-ext` and `mruby-numeric-ext` (they seem more natural to define in N, but `mruby-string-ext` depends on `Integral#chr`). | |||
| 2019-05-17 | Move `Integral#(zero|nonzero|positive|negative)?` to `Numeric` | KOBAYASHI Shuji | |
| Because these methods work if object is `Comparable`, and `Numeric` is `Comparable`. | |||
| 2019-05-17 | Move `Numeric#div` to the core. | Yukihiro "Matz" Matsumoto | |
| 2019-01-03 | Remove `Kernel#class_defined?` which is not available in CRuby; #3829 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Remove implicit conversion using `to_int` method. | Yukihiro "Matz" Matsumoto | |
| The ISO standard does not include implicit type conversion using `to_int`. This implicit conversion often causes vulnerability. There will be no more attacks like #4120. In addition, we have added internal convenience method `__to_int` which does type check and conversion (from floats). | |||
| 2017-12-26 | Add `Integer#{allbits?,anybits?,nobits?}. [Ruby2.5] | Yukihiro "Matz" Matsumoto | |
| In mruby, those methods are defined in `Integral` module. | |||
| 2017-12-26 | Move `Intefer#chr` to `Integral#chr`. | Yukihiro "Matz" Matsumoto | |
| Since mruby mixes `Integer` and `Float`, integer operations have been moved to `Integral` module. | |||
| 2017-11-04 | Merge branch 'master' of github.com:mruby/mruby | YAMAMOTO Masaya | |
| 2017-10-18 | Add `Numeric#{positive?,negative?}`; CRuby2.3 | Yukihiro "Matz" Matsumoto | |
| 2017-10-16 | Support MRB_WIHTOUT_FLOAT to mruby-numeric-ext (test only) | YAMAMOTO Masaya | |
| 2015-11-27 | include changed from by quotes ("") to by brackets (<>); close #3032 | Yukihiro "Matz" Matsumoto | |
| 2015-11-20 | support Numeric#zero? and Numeric#nonzero? | takahashim | |
| 2015-06-28 | Rename extended xxxx class or module to xxxx class or module extension | Jun Hiroe | |
| 2015-06-28 | Fix typo; Replace extensional with extended | Jun Hiroe | |
| 2014-07-12 | Run mrbgem and core tests on minimum dependencies. | take_cheeze | |
| Solves #2355. In test drivers: * Uses `mrb_t_pass_result` to check and pass test result to main `mrb_state`. * Adds `mrb_init_test_driver` to init test `mrb_state`. | |||
| 2014-03-17 | move summary of mrbgems in default gembox to its spec | take_cheeze | |
| 2014-03-04 | add Integer#div and Float#div. | Tomoyuki Sahara | |
| 2014-02-27 | Test for UTF-8 as mattn suggests. | chasonr | |
| The string is "Hello world" in Japanese. (hat tip: Google Translate.) | |||
| 2014-02-26 | Update the Fixnum#chr test for UTF-8. | chasonr | |
| 2014-01-07 | remove superfluous includes | cremno | |
| - reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style) | |||
| 2013-08-04 | Improve test of mruby-numeric-ext GEM | Daniel Bovensiepen | |
| 2013-07-23 | "spec.author" is better for single-author gems. | Tomoyuki Sahara | |
| "spec.author=" expects a String represents a single author. "spec.authors=" expects an Array which is a list of multiple authors. http://guides.rubygems.org/specification-reference/ | |||
| 2013-04-25 | rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206 | Yukihiro "Matz" Matsumoto | |
| 2013-04-01 | Fix to fit new raisef format. | Masaki Muranaka | |
| 2013-03-29 | Remove limits.h from numeric.h. Add limits.h to some C files. | Masaki Muranaka | |
| 2013-03-08 | define and use print format macros for mrb_int | Cremno | |
| For portability: %ld can't be used to print a 64-bit mrb_int on WIN(32|64) because long is 32-bit wide. | |||
| 2013-03-08 | fix comment | Kouki Ooyatsu | |
| 2013-03-08 | add Integer#chr test case: multibyte (raise RangeError) | Kouki Ooyatsu | |
| 2013-03-08 | add mrbgems/ext/mruby-numeric, and method: Integer#chr | Kouki Ooyatsu | |
