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

Method Float32

runtime/sam/expr/result/buffer.go:21–24  ·  view source on GitHub ↗
(v float32)

Source from the content-addressed store, hash-verified

19}
20
21func (b *Buffer) Float32(v float32) scode.Bytes {
22 *b = Buffer(super.AppendFloat32(scode.Bytes((*b)[:0]), v))
23 return scode.Bytes(*b)
24}
25
26func (b *Buffer) Float64(v float64) scode.Bytes {
27 *b = Buffer(super.AppendFloat64(scode.Bytes((*b)[:0]), v))

Callers 8

DecodeFloatFunction · 0.80
DecodeFloat16Function · 0.80
encodeAnyMethod · 0.80
castToStringFunction · 0.80
ToFloatFunction · 0.80
buildScodeMethod · 0.80
columnChunkStatsFunction · 0.80
buildMethod · 0.80

Calls 3

AppendFloat32Function · 0.92
BytesTypeAlias · 0.92
BufferTypeAlias · 0.85

Tested by

no test coverage detected