Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
312
func
(f Float16) Neg() Float16 {
313
return
f ^ maskSign
314
}
315
316
func
(f Float16) Abs() Float16 {
317
return
f &^ maskSign
Callers
2
parseCompatibleNumericLiteral
Function · 0.80
readDecimalParts
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected