MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / int64Bits2Double

Function int64Bits2Double

tests/ftoa_test.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43static double int64Bits2Double(uint64_t bits) {
44 double f;
45 memcpy(&f, &bits, sizeof(double));
46 return f;
47}
48
49static double ieeeParts2Double(const bool sign, const uint32_t ieeeExponent,
50 const uint64_t ieeeMantissa) {

Callers 2

ieeeParts2DoubleFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected