Handbook
Glossary
brent-factor ( n -- factor )
Vocabulary
math
.
primes
.
pollard-rho-brent
Inputs
n
an
object
Outputs
factor
an
object
Definition
USING:
kernel
math
;
IN:
math.primes.pollard-rho-brent
:
brent-factor
( n -- factor )
dup
even?
[
drop
2
]
[
(brent-factor)
]
if
;