-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
When hashing floats. You seem to handle plus and minus zero as the same value (as you should).
In floats there are many different NAN values, that generally fall into thee classes, -infinity, +infinity and "the rest". Do you not agree that all floats in the "the rest" class should hash to the same value? In boost they switch over the result of std::fpclassify when hashing floats.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels