MCPcopy Create free account
hub / github.com/brimdata/super / AppendFloat64

Function AppendFloat64

primitive.go:150–152  ·  view source on GitHub ↗
(zb scode.Bytes, d float64)

Source from the content-addressed store, hash-verified

148type TypeOfFloat64 struct{}
149
150func AppendFloat64(zb scode.Bytes, d float64) scode.Bytes {
151 return binary.LittleEndian.AppendUint64(zb, math.Float64bits(d))
152}
153
154func EncodeFloat64(d float64) scode.Bytes {
155 var b [8]byte

Callers 4

Float64Method · 0.92
appendPrimitiveMethod · 0.92
handleTokenMethod · 0.92
EncodeFloat64Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected