def neg(self, a):
    '\n        field operation: opposite mod p\n        '
    return FieldElem(((self.p - a.val) % self.p), self)
field operation: opposite mod p
def neg(self, a):
    '\n        \n        '
    return FieldElem(((self.p - a.val) % self.p), self)