Home | History | Annotate | Download | only in test

Lines Matching refs:Minus

110 func (a Uint64) Minus(b Uint64) (c Uint64) {
121 return zero.Minus(a)
175 a = a.Minus(b)
266 func (a Int64) Minus(b Int64) (c Int64) { return a.Uint64().Minus(b.Uint64()).Int64() }
416 "func testInt64Unary(a, plus, xor, minus int64) {\n" +
419 " if n, op, want := -a, `-`, minus; n != want { ok=false; println(`int64`, op, a, `=`, n, `should be`, want); }\n" +
461 "func testUint64Unary(a, plus, xor, minus uint64) {\n" +
464 " if n, op, want := -a, `-`, minus; 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,