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

Function NewConstFloat

vector/const.go:28–31  ·  view source on GitHub ↗
(typ super.Type, v float64, length uint32)

Source from the content-addressed store, hash-verified

26 return &Const{vec, length}
27}
28func NewConstFloat(typ super.Type, v float64, length uint32) *Const {
29 vec := NewFloat(typ, []float64{v})
30 return &Const{vec, length}
31}
32
33var (
34 falseVec = NewFalse(1)

Callers 9

arithAddFloatConstConstFunction · 0.92
arithSubFloatConstConstFunction · 0.92
arithMulFloatConstConstFunction · 0.92
arithDivFloatConstConstFunction · 0.92
convertMethod · 0.92
absMethod · 0.92
ceilMethod · 0.92
floorMethod · 0.92
NewConstFromValueFunction · 0.85

Calls 1

NewFloatFunction · 0.70

Tested by

no test coverage detected