numeric.c: `mrb_as_float` should not call `to_f` for generic objects.
It should only call `to_f` for Rational and Complex numbers. Ref #5540 #5613 #5620
Showing
It should only call `to_f` for Rational and Complex numbers. Ref #5540 #5613 #5620
mentioned in commit ac22a63a
·mentioned in commit ac22a63a