Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ div_bits
Function
div_bits
cpp/fory/util/float16_test.cc:740–742 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
738
return float16_t::mul(H(a), H(b)).to_bits();
739
}
740
static uint16_t div_bits(uint16_t a, uint16_t b) {
741
return float16_t::div(H(a), H(b)).to_bits();
742
}
743
744
TEST(Float16ArithmeticTest, AddBasic) {
745
// 1.0 + 1.0 = 2.0
Callers
1
TEST
Function · 0.85
Calls
2
H
Function · 0.85
to_bits
Method · 0.45
Tested by
no test coverage detected