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

Function FromBits

cpp/src/arrow/util/float16.h:52–52  ·  view source on GitHub ↗

\brief Create a `Float16` from its exact binary representation

Source from the content-addressed store, hash-verified

50
51 /// \brief Create a `Float16` from its exact binary representation
52 constexpr static Float16 FromBits(uint16_t bits) { return Float16{bits, bool{}}; }
53 /// \brief Create a `Float16` from a 32-bit float (may lose precision)
54 static Float16 FromFloat(float f);
55 /// \brief Create a `Float16` from a 64-bit float (may lose precision)

Callers 15

PyFloat_FromHalfFunction · 0.85
isnullMethod · 0.85
operator()Method · 0.85
TYPED_TESTFunction · 0.85
TESTFunction · 0.85
GetValueFunction · 0.85
VisitMethod · 0.85
TYPED_TESTFunction · 0.85
TESTFunction · 0.85
NumericFunction · 0.85
Float16Method · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 7

TYPED_TESTFunction · 0.68
TESTFunction · 0.68
TYPED_TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68