We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 172c17e + 6087e71 commit 54e7de5Copy full SHA for 54e7de5
1 file changed
src/type/compare.jl
@@ -12,10 +12,10 @@ end
12
return (LO(x) !== LO(y)) || (HI(x) !== HI(y) || posnegzeros(HI(x),HI(y)))
13
end
14
@inline function (<)(x::DoubleFloat{T}, y::DoubleFloat{T}) where {T<:IEEEFloat}
15
- return (HI(x) < HI(y)) || (HI(x) === HI(y) && LO(x) < LO(y))
+ return (HI(x) < HI(y)) || (HI(x) == HI(y) && LO(x) < LO(y))
16
17
@inline function (<=)(x::DoubleFloat{T}, y::DoubleFloat{T}) where {T<:IEEEFloat}
18
- return (HI(x) < HI(y)) || (HI(x) === HI(y) && LO(x) <= LO(y))
+ return (HI(x) < HI(y)) || (HI(x) == HI(y) && LO(x) <= LO(y))
19
20
21
@inline function isequal(x::DoubleFloat{T}, y::DoubleFloat{T}) where {T<:IEEEFloat}
0 commit comments