Ask Your Question

Revision history [back]

A workaround (which is probably not efficient) is:

sage: A = Zmod(2**256)
sage: R.<x,y> = PolynomialRing(A, implementation='generic')
sage: R(2**64)
18446744073709551616