From: Kenta Murata Date: 2011-09-14T13:28:57+09:00 Subject: [ruby-core:39540] [Ruby 1.9 - Bug #1792][Open] Fixnum#& 等が、Rational などを受けつける Issue #1792 has been updated by Kenta Murata. Status changed from Closed to Open I reopen this ticket because I rethink [ruby-core:39491] is bug. But, unfortunately, I don't know how to fix this. Using to_int cannot fix the original problem. May Numeric#coerce is used for bitwise operation? ---------------------------------------- Bug #1792: Fixnum#& ���������Rational ������������������������ http://redmine.ruby-lang.org/issues/1792 Author: tadayoshi funaba Status: Open Priority: Normal Assignee: Kenta Murata Category: Target version: 1.9.x ruby -v: - =begin 1 & 1.5 ������������������������������ 1 & Rational(3,2) ��� 1 & BigDecimal('1.5') ������������������������������������������������ =end -- http://redmine.ruby-lang.org