Can anyone recommend a cheap (inline) hash function for float64 values that does not hash every small integer as 0?
I think this happens in the hashes module because it uses toU32 which ignores the most significant 32 bits of the float64.
Can anyone recommend a cheap (inline) hash function for float64 values that does not hash every small integer as 0?
I think this happens in the hashes module because it uses toU32 which ignores the most significant 32 bits of the float64.