Skip Menu |

This queue is for tickets about the Math-Factor-XS CPAN distribution.

Report information
The Basics
Id: 73459
Status: resolved
Priority: 0/
Queue: Math-Factor-XS

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: docs of factors()
Date: Sat, 24 Dec 2011 08:01:17 +1100
To: bug-Math-Factor-XS [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
I found the docs of factors() a bit unclear. The name suggested factors as in prime factors, where if I'm not mistaken its all divisors. An example could help, perhaps something like, =head2 factors Find all factors of a number. @factors = factors($number); The number will be entirely factorized and its factors, meaning all of its divisors, are returned as a list. For example, @factors = factors(30); # @factors = (2, 3, 5, 6, 10, 15);