Home | History | Annotate | Download | only in test

Lines Matching defs:Plus

101 func (a Uint64) Plus(b Uint64) (c Uint64) {
161 c = c.Plus(a.LeftShift(i))
264 func (a Int64) Plus(b Int64) (c Int64) { return a.Uint64().Plus(b.Uint64()).Int64() }
416 "func testInt64Unary(a, plus, xor, minus int64) {\n" +
417 " if n, op, want := +a, `+`, plus; n != want { ok=false; println(`int64`, op, a, `=`, n, `should be`, want); }\n" +
461 "func testUint64Unary(a, plus, xor, minus uint64) {\n" +
462 " if n, op, want := +a, `+`, plus; n != want { ok=false; println(`uint64`, op, a, `=`, n, `should be`, want); }\n" +
527 a, b, a.Plus(b), a.Minus(b), a.Times(b), div, mod,
550 a, b, a.Plus(b), a.Minus(b), a.Times(b), div, mod,
674 i, b, a.Plus(b), a.Minus(b), a.Times(b), div, mod,
677 j, a, a.Plus(b), a.Minus(b), a.Times(b), div, mod,
700 i, b, a.Plus(b), a.Minus(b), a.Times(b), div, mod,
703 j, a, a.Plus(b), a.Minus(b), a.Times(b), div, mod,