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

Method Neg

go/fory/float16/float16.go:312–314  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310}
311
312func (f Float16) Neg() Float16 {
313 return f ^ maskSign
314}
315
316func (f Float16) Abs() Float16 {
317 return f &^ maskSign

Callers 2

readDecimalPartsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected