Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
CheckWithinUlp
Function · 0.70
CheckNotWithinUlp
Function · 0.70
TEST
Function · 0.70
TestRoundTrip
Method · 0.70
TestRoundTripFromNaN
Method · 0.70
TestRoundTripFromInf
Method · 0.70
TEST
Function · 0.70
TEST
Function · 0.70
TEST
Function · 0.70
float16.h
File · 0.70
ConvertNumber
Function · 0.50
CheckFloatApproxEqualsWithUlpDistance
Function · 0.50
Calls
1
FromDouble
Function · 0.85
Tested by
15
CheckWithinUlp
Function · 0.56
CheckNotWithinUlp
Function · 0.56
TEST
Function · 0.56
TestRoundTrip
Method · 0.56
TestRoundTripFromNaN
Method · 0.56
TestRoundTripFromInf
Method · 0.56
TEST
Function · 0.56
TEST
Function · 0.56
TEST
Function · 0.56
CheckFloatApproxEqualsWithUlpDistance
Function · 0.40
VerifyValue
Method · 0.40
TEST_F
Function · 0.40