Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ DecodeFloat16
Function
DecodeFloat16
primitive.go:113–115 ·
view source on GitHub ↗
(zb scode.Bytes)
Source
from the content-addressed store, hash-verified
111
}
112
113
func
DecodeFloat16(zb scode.Bytes) float32 {
114
return
float16.Frombits(binary.LittleEndian.Uint16(zb)).Float32()
115
}
116
117
func
(t *TypeOfFloat16) ID() int {
118
return
IDFloat16
Callers
2
formatPrimitive
Function · 0.92
buildArrowValue
Method · 0.92
Calls
1
Float32
Method · 0.80
Tested by
no test coverage detected