MCPcopy 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
77uint16_t convert_bits(float value) {
78 return float16_t::from_float(value).to_bits();
79}
80
81void ExpectSignSymmetry(float value) {
82 if (std::isnan(value)) {

Callers 2

ExpectSignSymmetryFunction · 0.85
TESTFunction · 0.85

Calls 1

to_bitsMethod · 0.45

Tested by

no test coverage detected