MCPcopy 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

541constexpr uint16_t kMaxFinite = 0x7BFF; // 65504
542
543static float16_t H(uint16_t b) { return float16_t::from_bits(b); }
544
545TEST(Float16ClassificationTest, IsNaN) {
546 EXPECT_TRUE(float16_t::is_nan(H(kQNaN)));

Callers 5

TESTFunction · 0.85
add_bitsFunction · 0.85
sub_bitsFunction · 0.85
mul_bitsFunction · 0.85
div_bitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected