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

Function newNumeric

runtime/sam/expr/eval.go:237–243  ·  view source on GitHub ↗
(sctx *super.Context, lhs, rhs Evaluator)

Source from the content-addressed store, hash-verified

235}
236
237func newNumeric(sctx *super.Context, lhs, rhs Evaluator) numeric {
238 return numeric{
239 sctx: sctx,
240 lhs: lhs,
241 rhs: rhs,
242 }
243}
244
245func (n *numeric) evalAndPromote(this super.Value) (super.Value, super.Value, super.Type, *super.Value) {
246 lhsVal, rhsVal, errVal := n.eval(this)

Callers 3

NewCompareEqualityFunction · 0.85
NewCompareRelativeFunction · 0.85
NewArithmeticFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected