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

Function convert_toFLOAT_be

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

Source from the content-addressed store, hash-verified

1615}
1616
1617FORCE_INLINE
1618const char* convert_toFLOAT_be(int64_t context, float value, int32_t* out_len) {
1619 // The function behaves like convert_toFLOAT, but always return the result
1620 // in big endian format
1621 char* ret = const_cast<char*>(convert_toFLOAT(context, value, out_len));
1622
1623#if ARROW_LITTLE_ENDIAN
1624 reverse_char_buf(ret, *out_len);
1625#endif
1626
1627 return ret;
1628}
1629
1630// Converts a bigint(int with 64 bits) variable to binary
1631FORCE_INLINE

Callers

nothing calls this directly

Calls 2

convert_toFLOATFunction · 0.85
reverse_char_bufFunction · 0.85

Tested by

no test coverage detected