MCPcopy Create free account
hub / github.com/apache/fory / sub

Method sub

cpp/fory/util/float16.h:147–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 return from_float(a.to_float() + b.to_float());
146 }
147 [[nodiscard]] static float16_t sub(float16_t a, float16_t b) noexcept {
148 return from_float(a.to_float() - b.to_float());
149 }
150 [[nodiscard]] static float16_t mul(float16_t a, float16_t b) noexcept {
151 return from_float(a.to_float() * b.to_float());
152 }

Calls 1

to_floatMethod · 0.45

Tested by

no test coverage detected