2000-04-16  Linus Nordberg  <linus@swox.se>

	* t-rand.c (main): Add non-ANSI function declaration.  Don't use
	`const'.

2000-04-15  Linus Nordberg  <linus@swox.se>

	* Makefile.am: Don't do anything for target 'all'.
	* Makefile.in: Regenerate.

2000-04-13  Linus Nordberg  <linus@swox.se>

	* t-rand.c: Add copyright notice.

2000-04-12  Linus Nordberg  <linus@swox.se>

	* gen.c (main): Include gmp.h.  Remove macros MIN, MAX.  Add
	option '-q'.  Don't demand argument N.  Change parameters in call
	to mpf_urandomb.

	* t-rand.c: New file for testing random number generation.
	
	* Makefile.am: Run t-rand for 'make check'.
	(test, bigtest): Rename to manual-test, manual-bigtest.
	* Makefile.in: Regenerate.

2000-04-11  Linus Nordberg  <linus@swox.se>

	* stat.c (main): Initialize `l1runs' at declaration.

2000-04-10  Linus Nordberg  <linus@swox.se>

	* Makefile.am (test, bigtest): Quote argument to grep.
	* Makefile.in: Regenerate.

	* gen.c: Declare optarg, optind, opterr if not already declared.
	(main): Use new names for the random stuff.
	(main): Don't use strtoul() if we don't have it.  Use strtol()
	instead, if we have it.  Otherwise, use atoi().
	(main): Use srandom/srandomdev for __FreeBSD__ only.
	(main): Use new parameter order to gmp_randinit().

	* stat.c: Declare optarg, optind, opterr if not already declared.

2000-04-10  Kevin Ryde  <kevin@swox.se>

	* statlib.c: mpz_cmp_abs => mpz_cmpabs.

	* Makefile.am (LDADD): Don't need -lm (now in libgmp.la).
	(EXTRA_PROGRAMS): Not noinst_PROGRAMS.
	(INCLUDES): Shorten to -I$(top_srcdir) now using AM_CONFIG_HEADER.

2000-04-01  Linus Nordberg  <linus@swox.se>

	* Makefile.am (noinst_PROGRAMS): Change findcl --> findlc.  Add
	gen.static.
	* Makefile.in: Regenerate.

	* gen.c (main): Add mpz_urandomm.  Add command line options `-C',
	`-m', extend `-a'.  Use *mp*_*rand*() with new parameters.  Call
	gmp_rand_seed().

1999-05-26  Linus Nordberg  <linus@swox.se>

	* Makefile (test, bigtest): Add 33-bit tests.

	* gen.c (main): Set precision of variable passed to
	mpf_urandomb().  Add option `-p'.

1999-05-21  Linus Nordberg  <linus@swox.se>

	* gen.c (main): Pass `s' to rand-funcs instead of address of `s'.

1999-04-29  Linus Nordberg  <linus@swox.se>

	* findcl.c (main): Add option '-i' for interval factor.  Separate
	v and merit lose figures.  Add '-v' for version.

1999-04-28  Linus Nordberg  <linus@swox.se>

	* statlib.c: Change debugging stuff.

	* gmpstat.h: Add debug values definitions.

	* findcl.c (main): Print low and high merit on startup.  Print
	version string on startup.  Catch SEGV and HUP.  Add option -d for
	debug.  Fix bug making test for v too hard.
	(sh_status): New function.
	(sh_status): Flush stdout.  Add RCSID.

b1999-04-27  Linus Nordberg  <linus@swox.se>

	* Makefile (clean): Add target.

1999-04-27  Linus Nordberg  <linus.nordberg@canit.se>

	* stat.c: Include gmpstat.h.
	Add global int g_debug.

	* spect.c: Include <unistd.h>.

	* findcl.c (main): Input is `m', not all factors of `m'.  Print
	only the very first matching multiplier.  Include <unistd.h>.
	Flush stdout.  Print "done." when done.

	* spect.c: Move everything but main() to statlib.c.

	* findcl.c: New file.

	* gmpstat.h: New file.

	* statlib.c (merit, merit_u, f_floor, vz_dot, spectral_test): New
	functions.

1999-03-29  Linus Nordberg  <linus.nordberg@canit.se>

	* stat.c (f_freq): Don't print 2nd level results if doing 1st
	level.

	* gen.c (main): Set default algorithm to mpz_urandomb.
	(main): Add option -c.

1999-03-24  Linus Nordberg  <linus.nordberg@canit.se>

	* Makefile (GMPINC): Rename to GMPH.
	(GMPH):	Add gmp-mparam.h.
	(CFLAGS): Add -I$(GMPLIBDIR)/mpn

1999-03-16  Linus Nordberg  <linus.nordberg@canit.se>

	* statlib.c (ks_table): Use mpf_pow_ui() and exp().

	* gen.c: Include unistd.h for getopt.

1999-03-15  Linus Nordberg  <linus.nordberg@canit.se>

	* gen.c, stat.c, statlib.c, statlib.h: New files.
	* Makefile, ChangeLog: New files.

