Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ signBit
Function
signBit
go/fory/decimal.go:184–189 ·
view source on GitHub ↗
(sign int)
Source
from the content-addressed store, hash-verified
182
}
183
184
func
signBit(sign int) int {
185
if
sign < 0 {
186
return
1
187
}
188
return
0
189
}
190
191
func
reverseBytes(values []byte) {
192
for
i, j := 0, len(values)-1; i < j; i, j = i+1, j-1 {
Callers
1
writeDecimalParts
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected