Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ convert_bits
Function
convert_bits
cpp/fory/util/float16_test.cc:77–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
}
76
77
uint16_t convert_bits(float value) {
78
return float16_t::from_float(value).to_bits();
79
}
80
81
void ExpectSignSymmetry(float value) {
82
if (std::isnan(value)) {
Callers
2
ExpectSignSymmetry
Function · 0.85
TEST
Function · 0.85
Calls
1
to_bits
Method · 0.45
Tested by
no test coverage detected