Skip to content

Commit

Permalink
Revert "Use top_set_bit to optimize hash(Real) (#49986)" (#49993)
Browse files Browse the repository at this point in the history
This reverts commit 18d02c2.
  • Loading branch information
aviatesk authored May 30, 2023
1 parent 18d02c2 commit ed5bd4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/float.jl
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ function hash(x::Real, h::UInt)

# handle values representable as Int64, UInt64, Float64
if den == 1
left = top_set_bit(num) + pow
left = ndigits0z(num,2) + pow
right = trailing_zeros(num) + pow
if -1074 <= right
if 0 <= right && left <= 64
Expand Down

2 comments on commit ed5bd4c

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your package evaluation job has completed - possible new issues were detected.
A full report can be found here.

Please sign in to comment.