- 24 Jan, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 23 Jan, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
[ci skip] Remove no meaning statement in `bm_app_lc_fizzbuzz.rb`
-
KOBAYASHI Shuji authored
-
- 20 Jan, 2019 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Remove `.gitkeep` files
-
- 19 Jan, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 18 Jan, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove special treatments for `MRB_WITHOUT_FLOAT` in build scripts
-
Yukihiro "Matz" Matsumoto authored
Avoid runtime evaluation for `MRB_WITHOUT_FLOAT`
-
Yukihiro "Matz" Matsumoto authored
Fix assertion name for `Numeric#**` test
-
- 17 Jan, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 16 Jan, 2019 2 commits
-
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
- 15 Jan, 2019 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix coercing for first step counter in `Numeric#step`
-
KOBAYASHI Shuji authored
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]
-
Yukihiro "Matz" Matsumoto authored
[ci skip] Sort `.gitignore`
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Build fails when set `conf.build_dir=<rel path>` and `conf.enable_cxx_exception`
-
Yukihiro "Matz" Matsumoto authored
Ignore compiler temporary files (for `-save-temps` flag)
-
- 14 Jan, 2019 4 commits
-
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Use `%g` instead of `%e` for float representation in dump format
-
Yukihiro "Matz" Matsumoto authored
Improve compatibility to CRuby for `Float#to_s`
-
dearblue authored
-
- 13 Jan, 2019 2 commits
-
-
KOBAYASHI Shuji authored
For conforming C standard.
-
KOBAYASHI Shuji authored
Bfore: Float::INFINITY.to_s #=> "inf" 50.0.to_s #=> "50" 1e20.to_s #=> "1e+20" After / CRuby: Float::INFINITY.to_s #=> "Infinity" 50.0.to_s #=> "50.0" 1e20.to_s #=> "1.0e+20"
-
- 12 Jan, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Use `__send__` instead of `send`; ref #4207
-
KOBAYASHI Shuji authored
-
- 11 Jan, 2019 1 commit
-
-
KOBAYASHI Shuji authored
`%g` use shorter representation than `%e`.
-
- 10 Jan, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove duplicate code in numeric.c
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Change the order of "expected" and "actual" in test
-
- 09 Jan, 2019 2 commits
-
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
-
- 08 Jan, 2019 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix dump/load float leteral evaluate to infinity
-
Yukihiro "Matz" Matsumoto authored
Add `Time` object creation API
-
KOBAYASHI Shuji authored
Example: # example.rb p(2e308) p(-2e308) Good: $ bin/mruby example.rb inf -inf Bad: $ bin/mrbc example.rb $ bin/mruby -b example.mrb 0 -0 Cause: Float infinity representation is `inf` on dump and it is converted by corresponding `String#to_f` on load. Treatment: - Introduce new representations (`i`: +infinity, `I`: -infinity) - Allow old representations (`inf`, `-inf`, `infinity`, `-infinity`) too - Raise error for unknown representations (use corresponding `Kernel#Float`)
-
take-cheeze authored
-
- 07 Jan, 2019 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Fix `0.0` and `-0.0` handling.
-
- 06 Jan, 2019 2 commits
-
-
KOBAYASHI Shuji authored
Fix the following issue: Good: $ bin/mruby -e 'p(-0.0)' #=> "-0" Bad: $ bin/mruby -e 'a=0.0; p(-0.0)' #=> "0"
-
Yukihiro "Matz" Matsumoto authored
Add `assert_same` and `assert_not_same`
-