Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac 29156 doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveWitteMorris committed Mar 12, 2021
1 parent fbca269 commit 09e62e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sage/rings/integer.pyx
Expand Up @@ -2195,6 +2195,11 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
...
TypeError: no canonical coercion from Univariate Polynomial
Ring in t over Rational Field to Rational Field
Check that :trac:`29156` is fixed::
sage: 2^(-21111111111/11111111111)
1/4*2^(1111111111/11111111111)
"""
if modulus is not None:
from sage.rings.finite_rings.integer_mod import Mod
Expand Down

0 comments on commit 09e62e3

Please sign in to comment.