On Thu, 25 Feb 2016 23:15:46 +0100 FRIGN <d...@frign.de> wrote: > On Thu, 25 Feb 2016 23:03:14 +0100 > Mattias Andrée <maand...@kth.se> wrote: > > Hey Mattias, > > > I haven't spent too much time on it. But why don't we > > need factor, it is in coreutils and is useful to have? > > why not just write a naive implementation, using no > external libs. I'm sure you can write a prime factorizer > in under 30 lines of code.
It would have been more work for me as most of this already done. A naïve implementatation would be limited to 64 bits and run in exponential time. Hardly useful. > > Cheers > > FRIGN >
pgpT587Dnayk2.pgp
Description: OpenPGP digital signature