Actions
Bug #1828
closed1/-20 == -1 ?
Description
=begin
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
=end
Actions
Like0
Like0Like0