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

Function arithDivFloatConstConst

runtime/vam/expr/arithfuncs.go:2437–2441  ·  view source on GitHub ↗
(lhs, rhs vector.Any)

Source from the content-addressed store, hash-verified

2435}
2436
2437func arithDivFloatConstConst(lhs, rhs vector.Any) vector.Any {
2438 lconst := vector.FloatValue(lhs, 0)
2439 rconst := vector.FloatValue(rhs, 0)
2440 return vector.NewConstFloat(lhs.Type(), lconst/rconst, lhs.Len())
2441}
2442
2443func arithModIntFlatFlat(lhs, rhs vector.Any) vector.Any {
2444 l := lhs.(*vector.Int)

Callers

nothing calls this directly

Calls 4

FloatValueFunction · 0.92
NewConstFloatFunction · 0.92
TypeMethod · 0.65
LenMethod · 0.65

Tested by

no test coverage detected