Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ H
Function
H
cpp/fory/util/float16_test.cc:543–543 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
541
constexpr uint16_t kMaxFinite = 0x7BFF; // 65504
542
543
static float16_t H(uint16_t b) { return float16_t::from_bits(b); }
544
545
TEST(Float16ClassificationTest, IsNaN) {
546
EXPECT_TRUE(float16_t::is_nan(H(kQNaN)));
Callers
5
TEST
Function · 0.85
add_bits
Function · 0.85
sub_bits
Function · 0.85
mul_bits
Function · 0.85
div_bits
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected