summaryrefslogtreecommitdiff
path: root/dumbmp.c
Commit message (Collapse)AuthorAgeFilesLines
* (mpz_sub): Abort for non-handled case.Torbjorn Granlund2011-11-031-0/+2
|
* (mpz_root): Reinsert accidentally removed line.Torbjorn Granlund2011-08-041-0/+1
|
* *** empty log message ***Torbjorn Granlund2011-08-031-1/+1
|
* (mpz_root): Create reasonable starting approximation.Torbjorn Granlund2011-08-031-4/+72
| | | | | (mpz_sqrt): New function. (mpz_mul_2exp): Add faster block shifting code, disabled for now.
* (mpz_tdiv_qr): Correctly handle dividend value being equal to divisor value.Torbjorn Granlund2011-08-031-1/+1
|
* Get rid of K&R support.Torbjorn Granlund2010-11-091-3/+0
|
* (isprime): Replace with slightly less inefficient code.Torbjorn Granlund2009-06-111-8/+43
| | | | (mpz_tdiv_r): New function.
* Update license to version 3.tege2007-09-181-4/+2
|
* Update FSF's address.tege2006-02-151-2/+2
|
* * dumbmp.c (mpz_mul): Set ALLOC(r) for new data block used. ReportedKevin Ryde2004-02-101-1/+2
| | | | by Jason Moxham.
* * dumbmp.c (mpz_get_str): Fix buf size allocation.Kevin Ryde2002-10-081-1/+1
|
* * dumbmp.c (mpz_realloc): Add a cast to avoid a warning from SunOS cc.Kevin Ryde2002-10-051-1/+1
|
* 2002-09-28 Jason Moxham <J.L.Moxham@maths.soton.ac.uk>Kevin Ryde2002-09-281-0/+59
| | | | * dumbmp.c (mpz_pow_ui, mpz_addmul_ui, mpz_root): New functions.
* More of:Kevin Ryde2002-09-281-1/+9
| | | | * dumbmp.c: Add several new functions,
* * dumbmp.c: Add several new functions, allow for initial n<d inKevin Ryde2002-09-281-22/+280
| | | | mpz_tdiv_q (now in mpz_tdiv_qr actually).
* * dumbmp.c (mpz_init_set_ui): New function.Kevin Ryde2002-06-221-0/+7
|
* * dumbmp.c: New file, mostly by Torbjorn, some by me.Kevin Ryde2002-06-141-0/+556