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

Method Mul

go/fory/float16/float16.go:304–306  ·  view source on GitHub ↗
(other Float16)

Source from the content-addressed store, hash-verified

302}
303
304func (f Float16) Mul(other Float16) Float16 {
305 return Float16FromFloat32(f.Float32() * other.Float32())
306}
307
308func (f Float16) Div(other Float16) Float16 {
309 return Float16FromFloat32(f.Float32() / other.Float32())

Callers 4

decimalRatFunction · 0.80
canonicalDecimalFromRatFunction · 0.80
TestFloat16_ArithmeticFunction · 0.80

Calls 2

Float32Method · 0.95
Float16FromFloat32Function · 0.85

Tested by 1

TestFloat16_ArithmeticFunction · 0.64