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

Function Float16

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

Source from the content-addressed store, hash-verified

43 public:
44 Float16() = default;
45 explicit Float16(float f) : Float16(FromFloat(f)) {}
46 explicit Float16(double d) : Float16(FromDouble(d)) {}
47 template <typename T,
48 typename std::enable_if_t<std::is_convertible_v<T, double>>* = NULLPTR>

Callers 15

CheckWithinUlpFunction · 0.70
CheckNotWithinUlpFunction · 0.70
TESTFunction · 0.70
TestRoundTripMethod · 0.70
TestRoundTripFromNaNMethod · 0.70
TestRoundTripFromInfMethod · 0.70
TESTFunction · 0.70
TESTFunction · 0.70
TESTFunction · 0.70
float16.hFile · 0.70
ConvertNumberFunction · 0.50

Calls 1

FromDoubleFunction · 0.85

Tested by 15

CheckWithinUlpFunction · 0.56
CheckNotWithinUlpFunction · 0.56
TESTFunction · 0.56
TestRoundTripMethod · 0.56
TestRoundTripFromNaNMethod · 0.56
TestRoundTripFromInfMethod · 0.56
TESTFunction · 0.56
TESTFunction · 0.56
TESTFunction · 0.56
VerifyValueMethod · 0.40
TEST_FFunction · 0.40