I\'m currently implementing a hash table in C++ and I\'m trying to make a hash function for floats...
I was going to treat floats as integers by padding the decimal
You can use the std hash, it's not bad:
std::size_t myHash = std::cout << std::hash{}(myFloat);