KOBAYASHI Shuji
|
0740595f85
|
Change the order of "expected" and "actual" in test
|
2019-01-09 20:00:17 +09:00 |
|
KOBAYASHI Shuji
|
68735d1261
|
Fix dump/load float leteral evaluate to infinity
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`)
|
2019-01-08 20:43:23 +09:00 |
|
Hiroshi Mimaki
|
d973a8ebc4
|
Add -r option for mruby and mirb.
|
2018-05-07 18:17:50 +09:00 |
|
Hiroshi Mimaki
|
0c01afc3c9
|
Fix CI build errors and warnings.
|
2018-05-07 12:23:32 +09:00 |
|
Hiroshi Mimaki
|
1d16646506
|
Add -d option for mruby and mirb.
|
2018-05-02 20:52:02 +09:00 |
|
Tomoyuki Sahara
|
da4f8e19fa
|
replace "yylval" with "pylval" to make it compile with byacc.
|
2017-02-24 11:47:48 +09:00 |
|
Uchio KONDO
|
ab5812d0d8
|
Use standard Module(Class)#to_s
|
2017-02-02 18:09:27 +09:00 |
|
Bouke van der Bijl
|
f7a891fa89
|
Mark all the built-in classes during GC sweep
Reported by https://hackerone.com/haquaman
|
2016-12-07 15:14:12 -05:00 |
|
Yasuhiro Matsumoto
|
545d649eff
|
fix tests on windows.
'bin/mruby' not work on windows. so correct command name and quoted arguments.
|
2015-09-30 16:13:02 +09:00 |
|
take_cheeze
|
aa187956cf
|
Add test for end-of-program marker.
|
2014-06-08 01:38:44 +09:00 |
|
take_cheeze
|
18718e065a
|
Add test of $0 value in bin/mruby related to #2103 .
|
2014-04-22 19:19:08 +09:00 |
|
take_cheeze
|
24e3e33cb6
|
use tempfile module
|
2014-03-03 17:01:47 +09:00 |
|
fleuria
|
995e0f89cf
|
add regression for #1572
|
2013-11-16 15:05:15 +08:00 |
|
fleuria
|
2d646a13f7
|
add regression for #1564
|
2013-11-16 14:32:43 +08:00 |
|