Integer#quo(aFloat) の結果が Rational になる
Integer#quo(aFloat) の結果が Rational になる。
5.quo(2.0) #=> (5/2)
1.9.2 では Float になります。
Updated by mrkn (Kenta Murata) over 9 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r41099.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.