Borrowed example factorisation code for coreutils' factor program

View: New views
2 Messages — Rating Filter:   Alert me  

Borrowed example factorisation code for coreutils' factor program

by James Youngman-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The GNU coreutils suite comes with a "factor" program (it gets
installed as /usr/bin/factor on my system) and I recently updated it
to work with arbitrarily large integers by slightly adapting the
factorize.c program from the 4.2.2 release of GNU MP.

You can see the result at
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=src/factor.c;h=c7cd29eb74c898bc1d979a90a1d7ee270d717eab;hb=HEAD

I've tested it but I've not used GNU MP before and I've no particular
strengths in number theory, so I'd be grateful if anybody could take a
look at the result at the URL above and send me any comments.

Lastly, I'd like to credit the author of the factorize.c code in the
coreutils adaptation of the code, but authorship information is
missing from that factorize.c, and neither gmp.texi nor AUTHORS say
anything about the issue.  Does anybody know who wrote the code?

Thanks,
James.
_______________________________________________
gmp-discuss mailing list
gmp-discuss@...
http://swox.com/mailman/listinfo/gmp-discuss

Re: Borrowed example factorisation code for coreutils' factor program

by Torbjorn Granlund-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"James Youngman" <jay@...> writes:

  Lastly, I'd like to credit the author of the factorize.c code in the
  coreutils adaptation of the code, but authorship information is
  missing from that factorize.c, and neither gmp.texi nor AUTHORS say
  anything about the issue.  Does anybody know who wrote the code?

I wrote it.

--
Torbjörn
_______________________________________________
gmp-discuss mailing list
gmp-discuss@...
http://swox.com/mailman/listinfo/gmp-discuss
LightInTheBox - Buy quality products at wholesale price!