summaryrefslogtreecommitdiff
path: root/src/factor.c
AgeCommit message (Collapse)Author
2001-02-04(usage): Tweak --help output: it prints the _prime_Jim Meyering
factors, not just any factors.
2001-02-03Improve the performance of `factor' (more than 2x speed-up for large N).Jim Meyering
(wheel_tab): New global table. (WHEEL_START, WHEEL_END): Define. (factor): Remove the loop that special-cased `2'. Instead of incrementing by `2', use the offsets from the wheel table. From Michael Steffens.
2000-07-09update copyright dateJim Meyering
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-05Include "closeout.h".Jim Meyering
(main): Call close_stdout.
1999-05-03(main): Manually handle `--', since we no longer call getopt.Jim Meyering
1999-04-21update commentJim Meyering
1999-04-21<xstrtol.h>: Include this, not xstrtoul.h.Jim Meyering
<human.h>: Include. Use uintmax_t in place of unsigned long. Use human_readable to convert to strings for printing.
1999-03-31(PROGRAM_NAME, AUTHORS): Define and use.Jim Meyering
1999-03-04(main): Include author name argument in call to parse_long_options.Jim Meyering
1999-02-16update copyright datesJim Meyering
1999-01-25(usage): Remove static attribute.Jim Meyering
1998-09-26factor.cJim Meyering
1998-09-19update bug-reporting addressJim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1997-12-21Don't include limits.h.Jim Meyering
(UINT_MAX): Don't define. (INT_MAX): Don't define. These are all done in system.h now.
1997-10-07update bug-reporting addressJim Meyering
1997-05-01indent cpp-directivesJim Meyering
1997-02-20(factor): Rewrite inner loop to be more efficient.Jim Meyering
Patch from Torbjorn Granlund.
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-01-26(print_factors): Reflect changes to xstrtoul interface.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-04-21(usage): Improve help message. From Karl Berry.Jim Meyering
1996-04-07(usage): Give minimal description of the program.Jim Meyering
(print_factors): Give a better diagnostic. (main): Suggest --help upon failure. Reported by Karl Eichwalder <ke@ke.Central.DE>.
1996-03-24Update FSF's address.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support:Jim Meyering
call setlocale, bindtextdomain, and textdomain.
1996-02-29General cleanup. Use xstrtoul, not atoi.Jim Meyering
Change output format. Allow inputs as large as ULONG_MAX. Allow more than one command line argument.
1996-01-06Protoize and __P-protect forward dcls.Jim Meyering
1995-08-08Annotate localizable strings with _(...). From Franc,ois.Jim Meyering
1995-03-09add 1995 to Copyright datesJim Meyering
1994-12-31.Jim Meyering
1994-12-31.Jim Meyering
1994-12-31.Jim Meyering
1994-12-31.Jim Meyering
1994-12-31.Jim Meyering
1994-12-31still checkingJim Meyering
1994-12-31checking whether cvs lock worksJim Meyering
1994-12-31Indent.Jim Meyering
Add deactivated assertions.
1994-12-31Use readtoken.Jim Meyering
1994-12-20Begin overhaul.Jim Meyering
1994-12-13(main): Move to end.Jim Meyering
(factor, do_stdin): Declare static.
1994-12-12.Jim Meyering