If I remember correctly, the hash function for doubles in Nim is converted over from LUA. In lua double are often used as integers because for the most part lua did not have integers like javascript. Therefore the hash function was chosen to optimize this use case.
- float64 hash geezer9
- Re: float64 hash Stefan_Salewski
- Re: float64 hash geezer9
- Re: float64 hash Krux02