Actions
Bug #17945
closedDate::Infinity comparison <=> with Float::INFINITY not symmetric
Description
Example
require 'date'
p Float::INFINITY <=> Date::Infinity.new
p Date::Infinity.new <=> Float::INFINITY
Expected Result
I expected the comparison to have the same result when the order of values is switched.
0
0
Actual Result
0
1
Actions
Like0
Like0Like0