MCPcopy Create free account
hub / github.com/apache/arrow / double_to_long_bits

Function double_to_long_bits

cpp/src/gandiva/precompiled/hash.cc:110–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110static inline gdv_uint64 double_to_long_bits(double value) {
111 gdv_uint64 result;
112 memcpy(&result, &value, sizeof(result));
113 return result;
114}
115
116FORCE_INLINE gdv_int64 hash64(double val, gdv_int64 seed) {
117 return murmur3_64(double_to_long_bits(val), static_cast<gdv_int32>(seed));

Callers 2

hash64Function · 0.85
hash32Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected