diff options
author | Kenta Murata <mrkn@users.noreply.github.com> | 2020-10-26 18:43:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 18:43:30 +0900 |
commit | 69837229d74813c807e9d079aaee33aec2c7a4d0 (patch) | |
tree | 8610aa69e9a24fcb2815f018b8e79aa19d165bd7 /test/ruby/test_syntax.rb | |
parent | 52c630da004d9273e8e5fc91c6304e9eed902566 (diff) |
rational.c: convert a numerator to rational before calling fdiv in Kernel.Rational() (#3702)
This makes `Rational(BigDecimal(1), 60) == Rational(1, 60)`.
[Bug #16518]
Notes
Notes:
Merged-By: mrkn <mrkn@ruby-lang.org>
Diffstat (limited to 'test/ruby/test_syntax.rb')
0 files changed, 0 insertions, 0 deletions