Skip to content

Commit 805b2de

Browse files
committed
document that limit= invokes trial division
1 parent f97a32e commit 805b2de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sage/rings/integer.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2961,7 +2961,8 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
29612961
INPUT:
29622962
29632963
- ``limit`` -- (integer, optional keyword argument)
2964-
Return only prime divisors up to this bound.
2964+
Return only prime divisors up to this bound, and the factorization
2965+
is done by checking primes up to ``limit`` using trial division.
29652966
29662967
Any additional arguments are passed on to the :meth:`factor` method.
29672968

0 commit comments

Comments
 (0)