Skip to content

Commit 0fcac7a

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

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
@@ -688,7 +688,7 @@ function hash(x::Real, h::UInt)
688688
den_z = trailing_zeros(den)
689689
den >>= den_z
690690
pow += num_z - den_z
691-
# If the real is an Int64, UInt64, or Float64, hash as those types.
691+
# If the real can be represented as 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
694694
# left = ceil(log2(num*2^pow))

0 commit comments

Comments
 (0)