Skip to content

Commit 08fdf0a

Browse files
Update base/float.jl
Co-authored-by: Lilith Orion Hafner <[email protected]>
1 parent eaffc71 commit 08fdf0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/float.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ function hash(x::Real, h::UInt)
691691
# If the real is an Int64, UInt64, or Float64, hash as those types.
692692
# To be an Integer the denominator must be 1 and the power must be non-negative.
693693
if den == 1
694-
# left = ceil(log2(num)*2^pow)
694+
# left = ceil(log2(num*2^pow))
695695
left = top_set_bit(abs(num)) + pow
696696
# 2^-1074 is the minimum Float64 so if the power is smaller, not a Float64
697697
if -1074 <= pow

0 commit comments

Comments
 (0)