def quo(self, a, b): """Quotient of `a` and `b`, implies `__div__`. """ return GMPYRational(gmpy_qdiv(GMPYRational(a), GMPYRational(b)))
def div(self, a, b): """Division of `a` and `b`, implies `__div__`. """ return GMPYRational(gmpy_qdiv(a, b)), self.zero
def exquo(self, a, b): """Exact quotient of `a` and `b`, implies `__div__`. """ return GMPYRational(gmpy_qdiv(a, b))