MCPcopy 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}
740static uint16_t div_bits(uint16_t a, uint16_t b) {
741 return float16_t::div(H(a), H(b)).to_bits();
742}
743
744TEST(Float16ArithmeticTest, AddBasic) {
745 // 1.0 + 1.0 = 2.0

Callers 1

TESTFunction · 0.85

Calls 2

HFunction · 0.85
to_bitsMethod · 0.45

Tested by

no test coverage detected