| 1615 | } |
| 1616 | |
| 1617 | FORCE_INLINE |
| 1618 | const 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 |
| 1631 | FORCE_INLINE |
nothing calls this directly
no test coverage detected