(other IntValue)
| 200 | } |
| 201 | |
| 202 | func (self IntValue) Xor(other IntValue) (IntValue, error) { |
| 203 | return self.intOp(other, func(a, b int64) (int64, bool) { |
| 204 | return a ^ b, true |
| 205 | }, func(a, b *big.Int) (IntValue, error) { |
| 206 | return IntValFromBigInt(new(big.Int).Xor(a, b)) |
| 207 | }) |
| 208 | } |
| 209 | |
| 210 | func (self IntValue) And(other IntValue) (IntValue, error) { |
| 211 | return self.intOp(other, func(a, b int64) (int64, bool) { |