Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PerlPowerTools CPAN distribution.

Report information
The Basics
Id: 98849
Status: resolved
Priority: 0/
Queue: PerlPowerTools

People
Owner: Nobody in particular
Requestors: DANAJ [...] cpan.org
Cc:
AdminCc:

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



Subject: factor is incorrect
bin/factor 899 returns 899 It won't factor perfect squares of primes as well as some numbers close to a perfect square. I can submit a small fix, or a big one, depending on how much turmoil is acceptable.
Subject: Re: [rt.cpan.org #98849] factor is incorrect
Date: Fri, 12 Sep 2014 23:02:43 -0400
To: bug-PerlPowerTools [...] rt.cpan.org
From: brian d foy <bdfoy [...] cpan.org>
I checked this with the latest ppt (the one before I started mucking with things) and it looks like it's been a bug for a long time. Part of my interest is testing all this stuff and this is the first program to test. I've converted it to a modulino for easy testing and added t/factor.t. Some perfect squares seem to work, so I'm curious what the bug is. With that, go for it. Get the latest source and change as much as you need to make it work. https://github.com/briandfoy/PerlPowerTools Good luck!
I saw your fix in GitHub and pulled it into my repo already. I'm happy that it was a simple fix. Thanks,