Use `mrb_to_flo()` to check return value from `to_f`; fix #4115
The ISO standard does not include implicit type conversion using `to_int`, `to_str` and sometimes `to_f`. For the compactness of the mruby implementation, maybe we should remove those implicit conversion from mruby.
Showing
Please register or sign in to comment