Skip to content

Commit 5649932

Browse files
committed
add comment in doc
1 parent 8e6bb50 commit 5649932

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sage/rings/integer.pyx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4963,6 +4963,10 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
49634963
(2, 2)
49644964
sage: 256.perfect_power()
49654965
(2, 8)
4966+
4967+
Test small powers of even numbers that are not a power of 2
4968+
(see :issue:`40846`)::
4969+
49664970
sage: (26**2).perfect_power()
49674971
(26, 2)
49684972
"""

0 commit comments

Comments
 (0)