Skip to content

Commit 79875f8

Browse files
authored
delete redundant method of function !=, defined between bit floats (#59518)
The method was originally added way back in commit f138579. Deleting the method preserves optimized `code_llvm` output, for example with `code_llvm(!=, NTuple{2, Float64}; debuginfo=:none)`. After PR #59509 deleted another such unnecessary method, this method is the only nongeneric two-argument method of `!=` in the sysimage.
2 parents da5d73c + ede8a40 commit 79875f8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

base/float.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,6 @@ end
619619

620620
## floating point comparisons ##
621621
==(x::T, y::T) where {T<:IEEEFloat} = eq_float(x, y)
622-
!=(x::T, y::T) where {T<:IEEEFloat} = ne_float(x, y)
623622
<( x::T, y::T) where {T<:IEEEFloat} = lt_float(x, y)
624623
<=(x::T, y::T) where {T<:IEEEFloat} = le_float(x, y)
625624

0 commit comments

Comments
 (0)