MCPcopy Create free account
hub / github.com/google/gapid / SubS

Method SubS

core/codegen/arithmetic.go:187–189  ·  view source on GitHub ↗

SubS returns x - y. The types of the two values must be equal.

(x *Value, y interface{})

Source from the content-addressed store, hash-verified

185
186// SubS returns x - y. The types of the two values must be equal.
187func (b *Builder) SubS(x *Value, y interface{}) *Value {
188 return b.Sub(x, b.Scalar(y))
189}
190
191// Mul returns x * y. The types of the two values must be equal.
192func (b *Builder) Mul(x, y *Value) *Value {

Callers 1

buildMapMethod · 0.80

Calls 2

SubMethod · 0.95
ScalarMethod · 0.95

Tested by

no test coverage detected