From: Heesob Park Date: 2009-07-28T23:54:04+09:00 Subject: [ruby-core:24586] [Bug #1828] 1/-20 == -1 ? Bug #1828: 1/-20 == -1 ? http://redmine.ruby-lang.org/issues/show/1828 Author: Heesob Park Status: Open, Priority: Normal Category: core, Target version: 1.9.1 ruby -v: ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] Dividing positive number by negative number returns incorrect value. irb(main):001:0> 1/-20 => -1 irb(main):002:0> 30/-20 => -2 irb(main):003:0> 20/-30 => -1 ---------------------------------------- http://redmine.ruby-lang.org