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

Function convert_toDOUBLE_be

cpp/src/gandiva/precompiled/string_ops.cc:1585–1596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1583}
1584
1585FORCE_INLINE
1586const char* convert_toDOUBLE_be(int64_t context, double value, int32_t* out_len) {
1587 // The function behaves like convert_toDOUBLE, but always return the result
1588 // in big endian format
1589 char* ret = const_cast<char*>(convert_toDOUBLE(context, value, out_len));
1590
1591#if ARROW_LITTLE_ENDIAN
1592 reverse_char_buf(ret, *out_len);
1593#endif
1594
1595 return ret;
1596}
1597
1598// Converts a float variable to binary
1599FORCE_INLINE

Callers 1

TESTFunction · 0.85

Calls 2

convert_toDOUBLEFunction · 0.85
reverse_char_bufFunction · 0.85

Tested by 1

TESTFunction · 0.68