History log of /external/toybox/toys/other/factor.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
57605d2b481a87af4ba444761ece592d441950b1 13-May-2017 Elliott Hughes <enh@google.com> factor shouldn't give incorrect answers for >64-bit integers.
/external/toybox/toys/other/factor.c
51d71f5c5b7040b50a38d9360561cee626eb2c2e 13-Mar-2016 Rob Landley <rob@landley.net> factor: use long long math (64 bit on 32 bit platforms) and handle negative
numbers even though we use unsigned math now.
/external/toybox/toys/other/factor.c
e8427bfd008be233aadea49e89075451c8a9ceee 06-Feb-2016 izabera <izaberina@gmail.com> use unsigned long with factor
/external/toybox/toys/other/factor.c
5f1f34ae1a227edbb4b0bba7fe99009d4efd94bd 01-Mar-2015 Rob Landley <rob@landley.net> Fix several printf_format warnings.
/external/toybox/toys/other/factor.c
4391e57913ab84f1edea56157192692d2e41458c 24-Dec-2014 Rob Landley <rob@landley.net> Teach factor to accept whitespace separated arguments (reported by Robert Thompson).

(The diff looks bigger than it is because of reindenting.)
/external/toybox/toys/other/factor.c
b4062b0f9d096388c109b135066bcca901ef1dcd 02-Aug-2014 Rob Landley <rob@landley.net> factor: catch integer overflow.

Now factor 9223372036854775783 (largest positive 64 bit signed prime) takes a
couple minutes but gives the right answer.
/external/toybox/toys/other/factor.c
2a53f53d74167353cf434af59392c72a885cb7f6 01-Aug-2014 Rob Landley <rob@landley.net> Add factor.

I was reading http://www.muppetlabs.com/~breadbox/txt/rsa.html and it mentioned
"factor" and I noticed it was in coreutils. I'm not sure why it's in coreutils,
but it's pretty trivial, so...
/external/toybox/toys/other/factor.c