Actions
Bug #3746
closedIncorrect Float subtraction
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
Backport:
Description
=begin
This is copied from IRB:
ruby-1.9.2-p0 > 2.0 - 1.0
=> 1.0
ruby-1.9.2-p0 > 2.0 - 1.1
=> 0.8999999999999999
ruby-1.9.2-p0 > 2.0 - 1.2
=> 0.8
ruby-1.9.2-p0 > 2.0 - 1.3
=> 0.7
ruby-1.9.2-p0 > 2.0 - 1.4
=> 0.6000000000000001
ruby-1.9.2-p0 > 2.0 - 1.5
=> 0.5
ruby-1.9.2-p0 > 2.0 - 1.6
=> 0.3999999999999999
ruby-1.9.2-p0 > 2.0 - 1.7
=> 0.30000000000000004
ruby-1.9.2-p0 > 2.0 - 1.8
=> 0.19999999999999996
ruby-1.9.2-p0 > 2.0 - 1.9
=> 0.10000000000000009
=end
Actions
Like0
Like0Like0Like0Like0