Actions
Feature #10909
closed[PATCH 2/2] math.c: Direct casting from Rational to double.
Feature #10909:
[PATCH 2/2] math.c: Direct casting from Rational to double.
Status:
Closed
Assignee:
-
Target version:
-
Description
Hi, this proposal is continued from Feature 10800 and Feature 10785
I'd like to do cast from Rational to double unless Rational#to_f is redefined.
Along with that, I've introduced some new macros(fix2dbl_without_to_f, big2dbl_without_to_f, ..) and added test cases.
Please feel free to let me know if there are something you don't like.
thanks.
Files
Actions