Project

General

Profile

Actions

Bug #922

closed

Float == is false when should be true

Added by amandanicholas (Amanda Nicholas) over 15 years ago. Updated almost 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
ruby -v:
[ruby-core:20813]

Description

=begin
In irb on Ruby 1.8.6 (ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]) and 1.8.7 (ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux])

896.5 * 0.83
=> 744.095
896.5 * 0.83 == 744.095
=> false
=end


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #3746: Incorrect Float subtractionRejected08/26/2010Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0