
4 Dec
2024
4 Dec
'24
7:38 p.m.
Ivan Matek wrote:
2. exploit that before padding we are contiguous and trivial so pass that region in one call to hash_append_range
Note by the way that `double` is not contiguously hashable because +0.0 is equal to -0.0, but their binary representations differ. This is a known trap and N3980 mentions it: https://open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3980.html#is_contiguou...