func go/constant.BinaryOp
13 uses
go/constant (current package)
value.go#L1103: func BinaryOp(x_ Value, op token.Token, y_ Value) Value {
value.go#L1274: func add(x, y Value) Value { return BinaryOp(x, token.ADD, y) }
value.go#L1275: func sub(x, y Value) Value { return BinaryOp(x, token.SUB, y) }
value.go#L1276: func mul(x, y Value) Value { return BinaryOp(x, token.MUL, y) }
value.go#L1277: func quo(x, y Value) Value { return BinaryOp(x, token.QUO, y) }
go/types
builtins.go#L350: x.val = constant.BinaryOp(constant.ToFloat(x.val), token.ADD, constant.MakeImag(constant.ToFloat(y.val)))
const.go#L180: *rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
const.go#L190: *rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
expr.go#L817: re2, im2 := constant.BinaryOp(re, token.MUL, re), constant.BinaryOp(im, token.MUL, im)
expr.go#L837: x.val = constant.BinaryOp(x.val, op, y.val)
golang.org/x/tools/internal/gcimporter
iimport.go#L699: val = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
golang.org/x/tools/internal/pkgbits
decoder.go#L438: val = constant.BinaryOp(val, token.ADD, constant.MakeImag(r.scalar()))